add some function for string util