XP is just a number | |
PerlMonks |
Re: Splitting each word in a stringby khota (Initiate) |
on Jun 26, 2001 at 18:50 UTC ( [id://91608]=note: print w/replies, xml ) | Need Help?? |
You can use
split (/ +/,$string);
The + meaning that you want to consider one or more spaces as separators.
In Section
Seekers of Perl Wisdom
|
|