Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid email addresses (after the @)
Message
 
 
À
15/03/2004 10:36:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00886270
Message ID:
00886337
Vues:
80
>Hi Sergey,
> I got the html document you suggested, thanks. I went to the web site you suggested--how would I use it to determine whether or not an email address is valid? Thanks.

In VFP you can use WSH as shown below.
* FUNCTION ValidateEmailAddress
LPARAMETERS tcEmailAddr
LOCAL loRegExp
loRegExp = CreateObject("VBScript.RegExp")
loRegExp.IgnoreCase = .T.
loRegExp.Pattern = '< Email Validation pattern you prefer here >'
RETURN loRegExp.Test(tcEmailAddr)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform