摘要: public static String getStringNoBlank(String str) { if(str!=null && !"".equals(str)) { Pattern p = Pattern.compile("\\s*|\t|\r|\n"); Matcher m = p.matcher(str); String strNoBlank = m.replaceAll(""); return strNoBlank; ... 阅读全文
posted @ 2012-02-15 17:39 暗夜螃蟹 阅读(819) 评论(0) 推荐(0)