replace¶
Signature¶
replace(string, string, string, number)
Description¶
Replaces a specified number of instances of the source string with the replacement string in a parent.
Examples¶
replace('foobar', 'oo', 'ii') == 'fiibar'
replace('foobar', 'o', 'i', `1`) == 'fiobar'