replace

Performs a search and replace over some text and returns the result.

Function

result = replace(text, find, replace)

Arguments

ArgumentData Type
textstring
findstring
replacestring
resultstring

Comments

Finds find within text and replaces it with replace. Note: this does not modify the underlying field - it only returns the resulting text.

Examples

result = replace('Old world', 'Old', 'New') /* result = 'New world' */