📅  最后修改于: 2022-03-11 14:52:14.714000             🧑  作者: Mango
//java,remove selected value from string value,2021/09/23
String strValue="Text what you want remove hello world";
strValue.replace("Text what you want remove","text to replace");
System.out.println(strValue);
//after replace strValue = "text to replace hello world"