LEN
PROGRAM LEN_DEMO VAR STRING1: STRING; INT1: INT; END_VAR INT1:=LEN(IN:=STRING1); END_PROGRAM
Function returns length of a string.