String instructions
In this example the input variables (input_string and character_number) have been declared.
Instead, you may enter the string ('Ideas for life') and the number of characters to be delivered
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 the right, character_number (4) of input_string ('Ideas for life') is copied to
output_string ('life').
LD
267