1、在项目中引入hutool的jar包
2、定义一个String类型的被处理的字符串
3、定义一个String类型的前缀字符串
4、再定义一个String类型的后缀字符串
5、StrUtil.stripIgnoreCase(str,prefix,suffix);//去除指定的前后缀字符串得到结果