I've come across the following irule and I'm not sure exactly what it's intentions are
rule Persist_Universal {
when HTTP_REQUEST {
persist
uie [ findstr [HTTP::uri] "?" 9 3 ]
...
Keep in mind we have HTTP::query and URI::query for accessing just the query portion of a URI as well. These would allow you to skip the findstr portion.