Forum Discussion
Kyle_S
Apr 20, 2015Nimbostratus
String tolower within a switch -glob
We are routing traffic to various Pools by their URI. Our developers are implementing a change to the name of the of the incoming URI and need it to point to the existing Virtual Directory on the ser...
nitass
Apr 20, 2015Employee
can you try -nocase?
string
http://www.tcl.tk/man/tcl8.4/TclCmd/string.htm[root@ve11c:Active:In Sync] config tclsh
% set uri /VD/Service/something
/VD/Service/something
%
% string map -nocase {/vd/service/ /change1/} $uri
/change1/something
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