Return a new string with the content of str where all occurrences of pattern are replaced by replacement.
str
pattern
replacement
Return a new string with the content of
str
where all occurrences ofpattern
are replaced byreplacement
.