Posts tagged "algorithms"

The results of splitting empty strings

In which we talk at length about string splitting in various languages and how to handle the cases where the string is empty or where the separator doesn't appear in the string. As an interesting side note, we also briefly explore what happens if you use an empty separator.