Posted: Tue Nov 05, 2002 1:44 pm Post subject: Regular expression matching?
Acolyte
Joined: 19 Sep 2002 Posts: 74 Location: Newton, MA
I need to be able to search strings for patterns - for example, I need to be able to check if a string that contains *should* contain all numerics contain alpha chars.
The position function will at least let me search a string but barring having to search the string for each single possible alpha char - I'm hoping that there is something maybe more intelligent to do:
set result = position('A' in Environment.Variables.myString);
set result = position('a' in Environment.Variables.myString);
.... to Zz
And then of course check result for the return value.
Also, I need to check another string for descending or ascending values
e.g., 123456789 or 987654321
I would normally opt for regular exprs here but I don't see this capability.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum