"\\s+" 表示多个空格
拆分字符串中可能有多个空格,可以使用"\\s+"解决问题
“test is k s t”.split("\\s+");
split("\\s+")
猜你喜欢
转载自381234609.iteye.com/blog/1852363
今日推荐
周排行