add function of spliting string