关于去除 (全角空格)

String string="xxx yyy"; String str=string.replaceAll(" ", "");
这是清除全角的方法,正则表达式那边会miss掉全角空格“ ”

你可能感兴趣的:(技术积累)