Name :String deletion

Symbol :DELETE

Illustrate:

        Remove L characters of IN starting from the P character.

Image:

Parameter:

Parameter | Statement | Type | Description
--- | --- | --- | ---
IN | Input | STRING |
    Enter a string
L | Input | USINT |
    Delete the length
P | Input | USINT |
    Start position
OUT | Output | STRING |
    Output string

Example:

LD:

ST:

TagOut :=DELETE(IN := TagIn, L := TagLen, P := Position);

Interpretation:

parameter | operand | value
--- | --- | ---
IN1 | TagIn | Enter a value：'ABXYC'
L | TagLen | length：2
P | Position | Start position：3
OUT | TagOut | Output value：'ABC'

        IN inputs string type data, L inputs the length of deletion, P inputs the start position, and OUT outputs the deleted string.