in reply to Split this string
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Split this string
by Anonymous Monk on Oct 12, 2011 at 13:01 UTC |