区分replace()和replaceAll()

replace():returns a string replacing all the old char or CharSequence to new char or CharSequence.
replaceAll():returns a string replacing all the sequence of characters matching regex and replacement string.(满足正则表达式的)
 
这表达了你看看源文档是件多么重要的事情啊!!!
原文地址:https://www.cnblogs.com/xym4869/p/8477996.html