string_replaceReplaces all occurrences of a substring in the given input string with a replacement string.
stringThe input string.
oldThe substring to be replaced.
newThe replacement string.
modifiedThe input string with all occurrences of the old substring replaced with the replacement string.