implement simple splitOn