Forum Discussion
Oct 14, 2015
BIG-IP : TCL to match member of set
F5 BIG-IP Virtual Edition v11.4.1 (Build 635.0) LTM on ESXi
There must be a better way :
if { ( $segments_count == 3 ) || ( $segments_count == 4 ) || ( $segments_count == 5 ) } {
if { [expr {$...
Kevin_Stewart
Oct 14, 2015Employee
however it's my understanding that the string comparison operators eq ne are native to the language used inside [expr ] blocks
They are, technically. But TCL is flexible enough that you don't need to be inside an expr to use them, and by convention you'll see most string comparisons throughout DC wikis and posts don't use them either.
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