Added a helper class to split a string by a token