Replaces all occurrences of a substring with another string. Takes str (original string), find (substring to find), replaceWith (replacement string). Returns a new string with all occurrences of find replaced with replaceWith.
str
String
find
String
replaceWith
String
; No example implemented yet