MID – Substring Extraction

Block SymbolLicensing group: STANDARD
PIC

Function Description
The MID block extracts a substring sy from su. The parameters l and p specify position and length of the string being extracted in UTF-8 characters. The parameter p is one-based.

Inputs

su

String input value

String

l

Length of output string

Long (I32)

p

Position of output string (one-based)

Long (I32)

Parameter

nmax

Allocated size of string [bytes]   0  65520

Long (I32)

Output

sy

String output value

String

iE

Error code

Error

2023 © REX Controls s.r.o., www.rexygen.com