Re: Splitting each word in a string
Jun 26, 2001 at 18:50 UTC
in reply to
Splitting each word in a string
You can use split (/ +/,$string); The + meaning that you want to consider one or more spaces as separators.
Seekers of Perl Wisdom