|
if (string1.indexOf("@")==-1) {
is wholly inadequate as an email address validator.
Use the search feature of this forum.
__________________
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
|