Alan Bourke wrote:

On Tue, Jan 7, 2014, at 03:36 PM, Laurie Alvey wrote:
I want test that "@" occurs once and once only
and "." (period) occurs at least once.

If it's as simple as that then:

llValid = (Occurs("@", lcAddress) = 1) and (Occurs(".", lcAddress) > 1)

Just to be "grammar nazi" guy today, and fix Alan's typo:
 llValid = (Occurs("@", lcAddress) = 1) and (Occurs(".", lcAddress) > 0)


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to