替换空格

str=str.replaceAll("\\s","");

posted @ 2017-01-10 19:52  bake056  阅读(103)  评论(0)    收藏  举报