So it'll handle a set of carriage returns and newlines no matter which order they appear in. Do note, however, that if you want to preserve information on blank lines, that this won't work. It'll happily gobble up sequential end-of-line sequences...split /[\r\n]+/, $x;
...roboticus
In reply to Re: question about "split" function
by roboticus
in thread question about "split" function
by rimvydazas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |