ROPE Language Reference - "lifti_to"

The lifti_to action scans the packet being inspect for the specified string. The scan starts at the current $offset and continues to the end of the packet. The scan ignores character case.

If the string is found before hitting the end of the packet, then the characters traversed during the scan (including the matched string) are returned and $offset is advanced to point to the next byte. If the string is not found, an empty string is returned, and $offset is not changed.

For example:

"</a>" lifti_to

scans the buffer for the first occurance of the string "</a>".

Note - the lift_to does the same thing but doesnt ignore the case of the characters being scanned.

See Also