Name :String length

Symbol :LEN

Illustrate:

        The length of the output input string.

Image:

Parameter:

Parameter | Statement | Type | Description
--- | --- | --- | ---
IN | Input | STRING |
    Enter a string
OUT | Output | USINT |
    String length

Example:

LD:

ST:

TagOut := LEN(IN := TagIn);

Interpretation:

parameter | operand | value
--- | --- | ---
IN | TagIn | Enter a value：’abcd’
OUT | TagOut | Output value：4

        IN is used to input string data, and OUT is to output the length of IN.