java去除空格以及多个空字符串

关键代码
replaceAll("\\s+","_");

关键方法:replaceAll()

\\s+


猜你喜欢

转载自blog.csdn.net/wwxthinking/article/details/79957957
今日推荐