The String.split methods can be very convenient for easily splitting a provided String based on a provided regular expression String. The only trick is figuring out a regular expression token to use ...
If I were in the mood for strictness I'd probably return an error, but I think returning "Single element array, zero length string" would be most streamlined considering what I usually do with strings ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results