Chapter 22
String manipulation instructions
Structured text
Replacing a part of a string with a new set of characters.
(* ST Equivalence: *)
MyName := REPLACE ('Mr X JONES, 'Frank', 1, 4);
(* MyName is 'Mr Frank JONES' *)
Results
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
615