[master] change: Add some APIs in StringUtils

Change-Id: I8c691e4cd69f356ecb83626512c9ee03803528df