New IO modes 4 and 5 have been added to allow searching within a memory module for a string.
xcall MIAMEX, MX_USRIO, status, module, mode, var, offset
mode 4 is case insensitive, mode 5 is case sensitive. var in these modes must be set to the string to search for. offset is the starting offset from the base of the module (as with other MX_USRIO modes). status returns the offset to where the string was found (or -1 for not found). Note that like other MX_USRIO offsets (but unlike the INSTR() function), the offsets here are zero-relative—i.e. zero is the first position).