update StringUtils
new utility functions from various Canadensys projects