Well, one must say that the behavior shown in the following debugger session does not seem to be completely consistent.
DB<1> x split /-/, "-" empty array DB<2> x split /-/, "-foo-bar-" 0 '' 1 'foo' 2 'bar'
In reply to Re^3: split tosses away empty components even with positive width separators?
by Laurent_R
in thread split tosses away empty components even with positive width separators?
by wrog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |