Attention
IronPLC implements many parts of the IEC 61131-3 standard and is working toward full Structured Text support. Key features still missing include arrays and structures. Try it out in the IronPLC Playground.
LEFT¶
Returns the leftmost characters of a string.
IEC 61131-3 |
Section 2.5.1.5.7 |
Support |
Supported |
Signatures¶
# |
Input (IN) |
Input (L) |
Return Type |
Support |
|---|---|---|---|---|
1 |
|
|
|
Supported |
2 |
|
|
|
Not yet supported |
Description¶
Returns the leftmost L characters of IN. If L is greater than or equal to the length of IN, the entire string is returned.