Function::String
StringReplace
StringReplace(StringToReplaceIn,StringToReplace,StringToReplaceWith)
StringReplace("This is a test","a test","brilliant!") -- result: This is brilliant.
StringToReplace(MyTextField, ToReplace,ReplaceWith)
retval := StringToReplace(MyTextField, ToReplace,R

To replace all occurrence of a text in a string with another text.

Can be used to replace names, codes, spelling mistakes etc in a text field.

Parameters

StringToReplaceIn:

This is the string that you want to replace text in. "This is a test".

StringToReplace:

This is the string you want to replace. "a test"

StringToReplaceWith:

This is the string you want to change it to: "brilliant!"

Returns/Result

String(255): The complete string with the changes.

Reference
A useful little function.

If you did a mistake, have changed name, address etc, why not simply find and replace.

Simple find and replace...

text StringRepace(StringToReplaceIn,StringToReplace,StringToReplaceWith)

What more to say, if you don't see the use, you never will..;-)