msgfindchar

This finds the first instance of char in msgId's region.

msgfindchar msgID char ?offset? ?length?
  • If offset is not specified, then 0 is assumed.
  • If length is not specified or specified as end, then the remainder of the message is used.
  • If the character is not in the region, then the command returns -1. If the character is in the message's data, then the command returns the offset from the start of the region.

Use {} to search for the null character.