Method of string.
replaced(const string search, const string replace) -> string
Replaces all occurrences of a string within the given string.
Parameters
- search: The value to search in the subject
- replace: The value to replace when a matched search is found