in reply to split and the null string
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.
|
|---|