Performs a search and replace over some text and returns the result.
Function
result = replace(text, find, replace)
Arguments
Argument | Data Type |
text | string |
---|---|
find | string |
replace | string |
result | string |
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' */