add format to StringUtil.