5.7
Standard Character String Functions
5.7.1
Extract mid string
MID(_E)
Structured ladder
MID_E
EN
ENO
s
d
n1
n2
Input argument,
EN:
Executing condition (TRUE: Execution, FALSE: Stop)
s:
Input
n1:
Number of characters to be extracted
n2:
Start position to be extracted
Output argument,
ENO:
Output status (TRUE: Normal, FALSE: Error)
d:
Output
Function
Operation processing
(1) Extracts the specified number of characters from the specified start position in the character
string input to
The number of characters to be extracted is specified by the value input to
The start position of the characters to be extracted is specified by the value input to P.
ST
ENO:=
(EN, s, n1, n2, d);
MID_E
, and outputs the operation result from
s
5.7 Standard Character String Functions
MID(_E)
Universal
UD
_E: With EN/ENO
indicates any of the following
functions.
MID
MID_E
:Bit
:String
:Word (signed)
:Word (signed)
:Bit
:String
.
d
.
n1
5.7.1 Extract mid string
MID(_E)
High
Performance
5
5-157