Skip to content

replace_all

Signature

replace_all(string, string, string)

Description

Replace all instances of one string with another in an overall parent string.

Examples

replace_all('foobar', 'o', 'i') == 'fiibar'
replace_all('hello world hello', 'hello', 'hi') == 'hi world hi'