Key Pages: [ Rope Home Page | Basics (tutorial) | Language Reference | Download ]
The lift_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.
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>" lift_to
scans the buffer for the first occurance of the string "</a>".
Note - the lifti_to does the same thing but ignores the case of the characters being scanned.
Lowth.com: [ Home | Rope | P2PWall | LinWiz | cutter | Protector - Free Antivirus software | TapeIO ]