What do the replaceAll () do?

replaceAll() The replaceAll() method returns a new string with all matches of a pattern replaced by a replacement . The pattern can be a string or a RegExp , and the replacement can be a string or a function to be called for each match.

Sizin İçin Seçtik  What is the difference between string and StringBuffer?

Leave a Reply

Your email address will not be published. Required fields are marked *