Forum Discussion
2funky_105078
Cirrus
Dec 19, 2017iRule Remove char in a string
hello,
If I use this command:
set COUNTRY ([whereis [IP::client_addr] country]])
It gives me back a country in parentheses like (IT) ......
How can i remove this parentheses ( and )?
I tried to use the string trim or map command, but did not succeded.
Any hint?
Thanks
- Stanislas_Piro2
Cumulonimbus
to remove parentheses from the result of:
set COUNTRY ([whereis [IP::client_addr] country]])
remove it from the command:
set COUNTRY [whereis [IP::client_addr] country]]
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