Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subs before a point
Message
From
15/01/2014 14:39:22
 
 
To
15/01/2014 02:50:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01591879
Message ID:
01591964
Views:
39
thanks tore - that's a good one to know
I have written it down!

k

>?strextract('name_of_sender@thisemail.com','','@')
>
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform