If you run split /(x)/, 'x';, you get at least your leading empty field plus one with the separator.
In reply to Re: split tosses away empty components even with positive width separators?
by hdb
in thread split tosses away empty components even with positive width separators?
by wrog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |