Forum Discussion
Matt_Williamson
Nimbostratus
Mar 29, 2005iRule to persist on tcp_content
Hi all, I'm trying to write a rule that will search the first 2500 bytes of tcp_content for the "USERNAME=" string and then persist on the next 7 characters after that. Here is my original attempt. ...
JRahm
Admin
Mar 30, 2005Check the doc Using UIE Function Commands under Tech Tips. Gives the syntax for the findstr command. An excerpt:
findstr
The findstr command finds the string within and returns a sub-string based on the and from the matched location.
Note the following;
may be either a character or length.
If is not specified, it defaults to zero.
If is not specified, it defaults to the end of the string.
This command (without or is equivalent to the following Tcl command: "string range [string first ] end".
The syntax of the findstr() command is as follows:
findstr [ []
Also, the ne is "not equal", so if the string is usrid has has content, persist on it.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
