Forum Discussion
Robert_47833
Nov 14, 2011Altostratus
how to use switch to match datagroup
1:there is a datagroup:cjj
how to use switch to match this group
switch -glob [HTTP::path] {
"cjj" xxxx ???
2:
switch -glob [HTTP::path] { "*jpg" - "*bmp" - ...
nitass
Nov 15, 2011Employee
in this case ,I can save the output of HTTP::path to a variable,right? because I run [HTTP::path] 3 times
hmm,I should use variable if one command run more than 1 time,right?
as i understand, even you call HTTP::path three times, you do not run function against it. so, no i do not think you should use variable.
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