Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Regular expressions
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01224420
Message ID:
01224668
Vues:
18
When I run your code, I get an error - unknown com status. Do you think my pc has vbscript disabled?
LPARAMETERS tcnarr
* ssn pattern
lcExpression ="(\b[0-9]{3}-[0-9]{4)\b)"
loRegExp = CreateObject("VBScript.RegExp")
loRegExp.IgnoreCase = .T.
loRegExp.Pattern = LCexpression
RETURN loRegExp.Test(tcnarr)
John
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform