Why not use the Scala split function on strings?