Forum Discussion
Andrés_Ortiz_10
Nimbostratus
Aug 13, 2007client introduces caracters in ldap search
Hi,
I have a problem with the format wich I received the first octet of the ip address of the filter in this search ldap:
ldapsearch -h 10.16.13.52 -p 389 -b =SIUX "LOGIN=99....
hoolio
Cirrostratus
Aug 13, 2007Hello,
'string map' doesn't seem to accept wildcards, so the best option I can think of would be to use regsub.
Here's an example:
% set mixed_string abcd1234abcd
abcd1234abcd
% set digits [regsub -all {[a-zA-Z]} $mixed_string ""]
1234
Here are a few related manual pages:
string Click here
regsub Click here
Else, you might be able to use scan:
scan Click here
Aaron
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