Fixed tokenization by checking for empty string, as this is retained on split if the first token is a splitter token.