Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subs before a point
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01591879
Message ID:
01591886
Vues:
51
J'aime (1)
>I am trying to extract the characters BEFORE the @ in an email - is there a single line or simple two step code that can do this?
>example
>name_of_sender@thisemail.com
>
>I would like only the "name_of_sender"
>
>I know the long way round - searching for the '@' by counting characters in a for - endfor loop
>perhaps a len() that counts to the @ - something along those lines.
>
>thanks
>k

GETWORDNUM(var, 1, "@")
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform