replace

Returns a String, List or Dict, of which all occurrences (in Values - not Keys) of str_search in $data have been replaced by str_replace.
replace($data , str_search , str_replace ) : String | List | Dict
$data.replace( str_search , str_replace ) : String | List | Dict
Parameters
$data String | List | Dict
str_search String

The value to look for.

str_replace String

Replacement value.

See also
Examples

How to replace in String