use splitter to split the string