replace ( object longString , object search , object replace ) : string
Replace all occurences of search by replace in longString. We use here a simple search by characters.
Example
console(replace("hello world i'm here to spell my litle text", "e","€")) //-> h€llo world i'm h€r€ to sp€ll my litl€ t€xt
See also
replaceRegexParameters
longString
Text in which the replacement will be performed. This text is then returned with @search replaced by @replace
search
Text to search for in @longString and delete to replace with @replace
replace
Replacement text for @search which will be found in @longString