The original string to process.
The substring to remove from the input string.
A new string with all instances of the target substring removed.
Trims all occurrences of the specified target substring from the input string, up to a maximum number of times.
The string to trim.
The substring to remove from the input string.
The maximum number of times to delete the target
substring on both sides of the input
string.
The trimmed string with up to max
occurrences of target
removed.
Removes all occurrences of the specified target substrings from the input string.
The original string to process.
An array of substrings to be removed from the input string.
The resulting string after all target substrings have been removed.
Removes all occurrences of the specified target substring from the input string.