Difference between String replace() and replaceAll()

What’s the difference between java.lang.String ‘s replace() and replaceAll() methods,
other than later uses regex? For simple substitutions like, replace . with / ,
is there any difference?

13 Answers
13

Leave a Comment