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
strwhere all occurrences ofpatternare replaced byreplacement.