msgfindchar

msgfindchar msgID char ?offset? ?length?

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

  • 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 in the message’s data, then the command returns the offset from the start of the region.
  • If the character is not in the region, then the command returns -1.

Use{} to search for the null character.