Name :String right truncation

Symbol :RIGHT

Illustrate:

        Outputs L characters to the right of the input string.

Image:

Parameter:

Parameter | Statement | Type | Description
--- | --- | --- | ---
IN | Input | STRING |
    Enter a string
L | Input | USINT |
    Number of characters
OUT | Output | STRING |
    Output string

Example:

LD:

ST:

TagOut := RIGHT(IN := TagIn, L := TagLen);

Interpretation:

parameter | operand | value
--- | --- | ---
IN | TagIn | Enter a value：’abcdefg’
L | TagLen | 长度：3
OUT | TagOut | Output value：’efg’

        IN inputs string type data, L inputs truncated length, and OUT outputs truncated strings.