On Jan 20, John W. Krahn said:
>Jeff 'Japhy' Pinyan wrote:
>>
>> split(" ", " ab cd ef ") -> "ab", "cd", "ef"
>> split(/\s+/, " ab cd ef ") -> "", "", "ab", "cd", "ef"
> ^^^^^^
>Where did that extra string come from? :-)
Oops. Yes, there should only be one "" there. I was thinking I was
splitting on /\s/ for the first part. ;) Thanks for pointing that out.
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/
<stu> what does y/// stand for? <tenderpuss> why, yansliterate of course.
[ I'm looking for programming work. If you like my work, let me know. ]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]