
The function block STRTRC replaces every occurrence of a character.
Note: This function is Binary-Safe. This means that UTF8 characters cannot be replaced directly. Instead, use the function block STRTR and add the characters individually.
Defines the string to process.
Defines all characters as a string that are replaced by the characters below.
If an empty string is present at the input, replacement is ignored.
Defines the new characters as a string that are inserted for the characters above.
Returns a string in which all FROM characters have been replaced with the corresponding TO characters.
If the inputs FROM and TO have different lengths, the excess characters in the longer parameter are ignored.