Attention

IronPLC supports IEC 61131-3 Structured Text excluding I/O mapping.

DELETE

Deletes characters from a string.

IEC 61131-3

Section 2.5.1.5.7

Support

Supported

Signatures

#

Input (IN)

Input (L)

Input (P)

Return Type

Support

1

STRING

INT

INT

STRING

Supported

2

WSTRING

INT

INT

WSTRING

Not yet supported

Description

DELETE(IN, L, P) deletes L characters from IN starting at position P. Positions are 1-based.

Example

See Also

  • INSERT — string insertion

  • REPLACE — string replacement

  • MID — middle substring