7.6.5.5 STRING

The STRING step reads a character string of variable length which is terminated by a known character. The received data may be truncated by a certain number of character before it is returned as the user data part of the message.

string-rx.gif

The terminating character may be specified either as a single character enclosed in double quoted or as a decimal number.

The offset parameter defines how many characters still have to be read or how many characters have to be cut at the end of the data to isolate the user data part of the message: