deleted and the start position directly into the function. The string has to be put in inverted commas,
both in the POU header and in the function.
Body
Starting from start_position (6), character_number (8) is deleted from input_string ('Ideas for
life'). The resulting string ('Ideas') is written into output_string.
LD
ST
When programming with structured text, enter the following:
output_string:=DELETE(input_string, character_number, start_position);
String instructions
273