
The Function Block STRTR replaces multiple strings without processing them twice.
Note: This Function Block can have more than three inputs. You can right-click on the Function Block to add another input. Note that the inputs are to be considered in pairs.
Defines the string to be processed.
Defines the strings that will be replaced by the string below. That is, FROM1 is replaced with TO1 and so on.
If an empty string is present at the input, the replacement is ignored.
Defines the new string to be inserted in place of the string above. That is, FROM1 is replaced with TO1 and so on.
Returns a string that has been replaced by all FROM inputs to the corresponding TO inputs. The longest FROM value is applied first.