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

p

Position of output string (one-based)

long

Parameter

nmax

Allocated size of string [bytes]   0  65520

long

Output

sy

String output value

string