Fixed a bug and add Split function
move some common functions to StringUtil
First commmit
Fixed a error