Revert "update StringUtils"

This reverts commit 6e1469900801312cad430bec793110cc32ba2d90.