Forum Discussion
falooda_281506
Nimbostratus
Feb 22, 2017iRULE difference between strong tolower
What is the difference between both iRule usuage, and when is best to use this:
elseif {[HTTP::uri] contains "/testweb/" {pool TESTweb}
elseif {[string tolower [HTTP::uri]] contains "/testw...
Feb 22, 2017
I would prefer the second one. The tolower command will convert all characters in HTTP:uri to lowercase characters before it is compared to '/testweb/'. This will cause variations like '/tEstWeb/' to also match.
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