Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LIKE function without regard for the case
Message
 
 
À
28/01/2004 10:45:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00871401
Message ID:
00871436
Vues:
12
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform