How to identify email address in text

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
Saman Sjr.
Posts: 49
Joined: Sat Nov 30, 2013 6:40 am

How to identify email address in text

Post by Saman Sjr. » Fri Aug 01, 2014 7:03 pm

Need an example how to retrieve email address from a text file.

regard's
Saman Sjr.

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2459
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: How to identify email address in text

Post by jmburnod » Fri Aug 01, 2014 7:44 pm

Hi Saman,
You can find "@" by offset function and check char before and after the foundchunk until char is a space char.
Best regards
Jean-Marc

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7640
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: How to identify email address in text

Post by FourthWorld » Fri Aug 01, 2014 7:48 pm

Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Saman Sjr.
Posts: 49
Joined: Sat Nov 30, 2013 6:40 am

Re: How to identify email address in text

Post by Saman Sjr. » Sat Aug 02, 2014 7:35 am

thank you jmburnod & FourthWorld :idea:

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”