刪除字符串中的空格

//方法一 public String removeAllSpace(String str) { String tmpstr=str.replace(" ",""); return tmpstr; } //方法二 public static void replaceBlank() { Pattern p = Pattern.compile("//s*|/t|/r|
相關文章
相關標籤/搜索