string on which to work
string to replace
string of replacement
Replace the toReplace
for the after
of the settings
string on which to work
string to replace
string of replacement
after the string in this array
after
's string replacedReplace the toReplace
for the around
of the settings
string on which to work
string to replace
string of replacement
around the string in this array
around
's string replacedReplace the toReplace
for the before
of the settings
string on which to work
string to replace
string of replacement
before the string in this array
before
's string replacedReplace all selected text by the regexp, replace selected text in the order of declared regexp
string on which to work
regexp for select text
string of replacement
Return a string with occurence replaced
Generated using TypeDoc
Replace all the string pass in parameters with the string of replacement with escaping the regex symbol
replace("« Hello world ! »", " ",
); //« Hello world ! »
replace(
Hello world ! »
, [
, "!"], " ",); //« Hello world »