Added SplitStringBy function, useful for parsing.