Switch Gone Wild: Using Wildcards with the Tcl "switch" command
In addition to the built-in Tcl relational operators, iRules includes a number of custom relational operators that were intended to be both intuitive and backward compatible with BIG-IP 4.x iRules. F...
Published Jun 25, 2008
Version 1.0Deb_Allen_18
Historic F5 Account
Joined September 25, 2004
Deb_Allen_18
Historic F5 Account
Joined September 25, 2004
Jun 26, 2008
Don't forget about the character range options for switch -glob (or string match). [a-zA-Z] will match any character for instance.