So, you can consider it a bug — or a bad design desicion. Or, you can feel that this is the proper way to behave. I'm no sure either way. It most definitely is a corner case, and if you want it, it's best to treat a zero length string as a special case, returning (""), and have any other string be delt with by split.
In reply to Re: split and the null string
by bart
in thread split and the null string
by madtoperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |