PP.String.replaceAll(str: String, whatReplace: String, thanReplace: String);
str. String where a substring will be replaced.
whatReplace. Substring to replace.
thanReplace. value with which the initial substring is replaced.
The replaceAll static method replaces all specified occurrences in the string with specified substring.
This method returns a String value: that is, the string where a substring is replaced.
The example of use is given in the with description of the String.format method.
See also: