$replace

Replaces a substring by an other in the given string.
Syntax
    $replace{string}{to_be_replaced}{to_replace}
DocumentationReplaces a substring by an other in the given string:

    Parameters:
      string, the string to operate on.
      to_be_replaced, the string to be replaced by to_replace.
      to_replace, the string to replace to_be_replaced.
    Returns:
      the resulting string after the replacements are done.
Examples
    $replace {He1}{He}{Hello2}

    Result:
    Hello21
GroupString
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters3
Maximum parameters 4