Forum Discussion
Dan_Cox_24281
Nimbostratus
Check out 'split' and 'lsearch' commands. https://devcentral.f5.com/articles/irules-101-15-tcl-list-handling-commands
if { [lsearch [split $al_ctrl_parameter ,] $switch_app_pool] } then {
do something
}
Dan_Cox_24281
Aug 14, 2013Nimbostratus
If you want to exact string matches add the -exact parameter to lsearch otherwise it'll match partial strings