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
Physics,
16 days ago
English,
16 days ago
English,
1 month ago
Social Sciences,
1 month ago
Social Sciences,
9 months ago
Math,
9 months ago