Forum Discussion
mraful_64014
Nimbostratus
Feb 12, 2015reverse a string or list
The iRules TCL implementation does not have a string reverse or list lreverse function. Any ideas on how I could accomplish that? I'm capturing a DNS PTR query and reversing the result of the DNS::q...
Brad_Parker
Cirrus
Feb 12, 2015you could try something like this:
set name [DNS::question name]
set reverse "[getfield $name "." 4].[getfield $name "." 3].[getfield $name "." 2].[getfield $name "." 1]"
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