Rewrite splitString to use stdlib functions

Looks good. Let's just call it split.