This will only split on the first whitespace and will ignore any other whitespace. I.E. you'll only get at most two elements from the split.@array = split /\s/, $string, 2;
In reply to Re: Split this string
by thargas
in thread Split this string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |