时间:2024-10-12 18:08:12
1、在项目中引入hutool的jar包
3、String[] strings = StrUtil.splitToAr筠续师诈ray(str, ',');//按照逗号分隔成字符串数组
5、运行程序代码查看结果