Re: A string & a list

2006-06-30 Thread Rob Dixon
(Randal L. Schwartz) wrote: "Monomachus" == "Monomachus" <[EMAIL PROTECTED]> writes: Monomachus> A problem in Perl Monomachus> You have a string & a list And it looks like a homework problem. Monomachus> And one more thing could u show me variants without using RegEx Especially with that.

Re: A string & a list

2006-06-30 Thread Rob Dixon
Monomachus wrote: A problem in Perl You have a string & a list For ex.: $s = "ADbDCdBabc"; @N=("A","D","C") You should exclude those elements from the string : first by 1 element, after that by 2 & by 3 ... (If @N would have 5 elements and by 4 and by 5([$#N+1] elements)), and creating a new

Re: A string & a list

2006-06-30 Thread Randal L. Schwartz
> "Monomachus" == "Monomachus" <[EMAIL PROTECTED]> writes: Monomachus> A problem in Perl Monomachus> You have a string & a list And it looks like a homework problem. Monomachus> And one more thing could u show me variants without using RegEx Especially with that. PLEASE DON'T ASK OR ANSW

Re: A string & a list

2006-06-30 Thread Mr. Shawn H. Corey
On Fri, 2006-30-06 at 12:59 +, Monomachus wrote: > And one more thing could u show me variants without using RegEx See `perldoc -f index` -- __END__ Just my 0.0002 million dollars worth, --- Shawn "For the things we have to learn before we can do them, we learn by doing them." Ar