[Java] 替换 →→→→→进入此内容的聊天室

来自 , 2019-09-20, 写在 Java, 查看 129 次.
URL http://www.code666.cn/view/f3173935
  1. public class tihuan {
  2.     public static  void  main(String args[]){
  3.  
  4.         String str = new String("今天太TM爽了");
  5.         System.out.printf(str.replace("TM","**"));
  6.  
  7.     }
  8. }
  9.  

回复 "替换"

这儿你可以回复上面这条便签

captcha