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 |
Not yet supported |
Signatures¶
# |
Input (IN) |
Input (L) |
Input (P) |
Return Type |
Support |
|---|---|---|---|---|---|
1 |
|
|
|
|
Not yet supported |
2 |
|
|
|
|
Not yet supported |
Description¶
DELETE(IN, L, P) deletes L characters from IN starting at
position P. Positions are 1-based.
Example¶
result := DELETE('Hello World', 6, 6); (* result = 'Hello' *)
result := DELETE('ABCDE', 2, 2); (* result = 'ADE' *)