@Test
public void test13(){
String a=" ";
if(StrUtil.isBlank(a)){
System.out.println("dddd");
}
String b="j.a.txt";
Console.log(StrUtil.removeSuffix(b,".txt"));
Console.log(StrUtil.removePrefix(b,"j."));
String str = "abcdefgh";
String strSub1 = StrUtil.sub(str, 2, 3);
String strSub2 = StrUtil.sub(str, 2, -3);
String strSub3 = StrUtil.sub(str, 3, 2);
String template = "{}love{}";
Console.log(StrUtil.format(template, "我", "你"));
String strs = "我是一个字符串";
String hex = HexUtil.encodeHexStr(strs, CharsetUtil.CHARSET_UTF_8);
String decodedStr = HexUtil.decodeHexStr(hex);
}