Forum Discussion
vm_64966
Nimbostratus
Apr 14, 2008testing for empty string
Hi,
I am very new to iRules. Two quesitons:
1.) Is there a function to test if a string variable is the empty string? In my particular case, I am using regexp to populate a string variable a...
Nicolas_Menant
Employee
Apr 17, 2008Just some additional stuff, if you want to see how using regexp or string commands impact your performance you have a specific command you can use to evaluate this:
the timing command: Click here
You have a really good examples about how to use it here: Click here
lbertacco
Nimbostratus
Jan 26, 20171) I'd go with just if { $var eq "" } or if { $var ne "" } for the opposite condition.
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