String str="a|b|c|d";
str=str.replaceAll("[|]",",");
java转义斜杠或引号等
最新推荐文章于 2022-06-13 22:35:49 发布
String str="a|b|c|d";
str=str.replaceAll("[|]",",");