The original string to perform replacements on.
The substring to search for within the input string.
The string to replace each occurrence of the target substring.
A new string with all occurrences of the target substring replaced by the replacement string.
Replaces all occurrences of each target substring in the input string with the specified replacement string.
The original string to perform replacements on.
An array of substrings to be replaced in the input string.
The string to replace each occurrence of the target substrings.
A new string with all target substrings replaced by the replacement string.
Replaces all occurrences of specified target substrings in the input string with their corresponding replacements.
The original string to perform replacements on.
An array of substrings to be replaced in the input string.
An array of replacement strings corresponding to each target substring.
A new string with all specified targets replaced by their replacements.
Replaces all occurrences of a target substring within the input string with a replacement string.