Rockwell Automation Publication 2080-RM001D-EN-E - February 2015 593
Chapter 22
String manipulation instructions
String manipulation instructions are used to alter a sequence of symbols that are
chosen from a set or alphabet to change the output status.
Tip:
To read input strings containing special characters correctly, input the string characters after the program containing the function block instance is online.
Function Description
ASCII on page 594 Character -> ASCII code
CHAR on page 595 ASCII code -> Character
DELETE on page 598 Delete sub-string
FIND on page 600 Find sub-string
INSERT on page 602 Insert string
LEFT on page 604 Extract left of a string
MID on page 606 Extract middle of a string
MLEN on page 608 Get string length
REPLACE on page 613 Replace sub-string
RIGHT on page 610 Extract right of a string