MID (FUN)¶
FUNCTION MID : STR.IString
Returns a specific number of runes of a string, starting from a specific position
Returns 0 in case of
eErrorID
<> ERROR.NO_ERROR
See
STR.IStringRepresentation
☛ ToIString(itfResource, liStart, liStart + TO_LINT(udiCount-1))
- InOut:
Scope
Name
Type
Initial
Comment
Return
MID
STR.IString
Input
itfString
STR.IString
String to be analyzed
udiCount
UDINT
Number of runes, counted from the left
udiStart
UDINT
Start position for the partial string
itfResource
STR.IString
0
Output
eErrorID