正規表示式 的取代 str.replaceAll(正規表示式條件, "取代成"). 以下範例是取代空白字元. String str="abc 123 def"; System.out.println(str.
確定! 回上一頁