Difference Between Replace And Replace All.
Answers
Answered by
1
Answer:
The difference between replace() and replaceAll() method is that the replace() method replaces all the occurrences of old char with new char while replaceAll() method replaces all the occurrences of old string with the new string.
Answered by
2
The difference between replace() and replace All() method is that the replace() method replaces all the occurrences of old char with new char while replaceAll() method replaces all the occurrences of old string with the new string.
Hope this helps u :-)
Similar questions
English,
4 hours ago
History,
4 hours ago
Math,
4 hours ago
English,
7 hours ago
Social Sciences,
7 hours ago
Social Sciences,
8 months ago
Math,
8 months ago