摘要: 合并字符串中的多个空格 String strResult= ""; String str="Senators are still in the nation’s Capitol."; Pattern pattern = Pattern.compile("\\s+"); Matcher matcher 阅读全文
posted @ 2020-12-20 11:20 西北逍遥 阅读(423) 评论(0) 推荐(0) 编辑