22.11.9.9 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 (Number of words) from Parameter 3 (String Offset) of Parameter 2 (String) in Parameter 1 (Destination buffer).

_strmid (Destination buffer, String, String Offset, Number of words)

Example expression:

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

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