Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LIKE function without regard for the case
Message
 
 
To
28/01/2004 10:45:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00871401
Message ID:
00871436
Views:
11
Hi Chuck,

You can use WSH regular expressions
oRx = CreateObject('VBScript.Regexp')
oRx.Pattern = "Set"
oRx.IgnoreCase = .T.
? oRx.Test(" SET set")   && .T.
>Is there a function that works like the LIKE command, that works with wildcards, that doesn't care about the case of the command? Something like there is an ATC compared to an AT. I understand I could UPPER/LOWER both expressions but I was hoping for a better answer.
>
>Thanks
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform