It's always a good idea to keep a good multitool around. If you find yourself without one, though, you can snap even a strong length of string with this trick. As shown in the videos above, you can ...
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