Move SplitString to utils.