add some functions to StringUtils