Forum Discussion
Andrea_Arquint
Nimbostratus
Aug 14, 2013match strings between delimiters
Hi
I do have an irule that contains:
if {$al_ctrl_parameter contains $switch_app_pool }
switch_aap_pool could contain myURI_A1 or myURI
al_ctrl_parameter could contain TEST=myURI_A1,myURI,...
Andrea_Arquint
Nimbostratus
Sep 05, 2013Hi Joe
Thank you for your response. No $al_ctrl_parameter is not form a URI query. It is just a variable I fill up from a cookie and it contains exactly "TEST=myURI_A1,myURI,myURI_A2,myURI_A3&".
So, I think URI::query is not the thing I need. Should be something that I can grab the string between = and & and then using split command.
- Sep 05, 2013You could always prepend the string with a "?" and then use the URI::query command and make it look like a query string.
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