Attention

IronPLC can only run very simple programs. The steps described are accurate but many language features are not yet supported.

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