java的replace和replaceAll

都是全部替换,只不过后者参数为正则

replaceFirst()是替换第一个

原文地址:https://www.cnblogs.com/yan456jie/p/5369447.html