ustring
ustring copied to clipboard
Handling of empty strings
One important thing needing doing is making sure indexOf, split, startsWith and so on work properly with empty strings, i.e. pretending there's one between each actual codepoint. Otherwise it's harder to write userland string-handling functions, because you need to work around incorrectly-implemented boundary cases :(