Attention
IronPLC supports IEC 61131-3 Structured Text excluding I/O mapping.
INSERT¶
Inserts a string into another string at a specified position.
IEC 61131-3 |
Section 2.5.1.5.7 |
Support |
Supported |
Signatures¶
# |
Input (IN1) |
Input (IN2) |
Input (P) |
Return Type |
Support |
|---|---|---|---|---|---|
1 |
|
|
|
|
Supported |
2 |
|
|
|
|
Not yet supported |
Description¶
INSERT(IN1, IN2, P) inserts IN2 into IN1 after position P.
Positions are 1-based. If P is 0, IN2 is inserted before the
first character.