MID (FUN)¶
FUNCTION MID : IString
Returns a specific number of runes of a string, starting from a specific position
Returns 0 in case of
eErrorID <> ERROR.NO_ERRORSee
IStringRepresentation ☛ ToIString(itfResource, liStart, liStart + TO_LINT(udiCount-1))- InOut:
Scope
Name
Type
Comment
Return
MIDInput
itfStringString to be analyzed
udiCountUDINTNumber of runes, counted from the left
udiStartUDINTStart position for the partial string
itfResourceThe resource that this function is working on. It will contain the result after the function call and will also be returned by this function so it can be used in nested calls.
Output
eErrorID