21.11.11.8 Partial Text

Data are retrieved from the specified offset of the string according to the length of the string and stored in another data buffer. Store Parameter 4 (Text Length) from Parameter 3 (Text Offset) of Parameter 2 (Text) in Parameter 1 (Write-To Data Buffer).

_strmid (Write-To Data Buffer, Text, Text Offset, Text Length)

Example expression:

_strmid (databuf0, "12345678", 2, 4)

4 bytes of data retrieved from offset 2 of string "12345678" are stored in "databuf0".