Quote:
Originally Posted by Philip M
if (string1.indexOf("@")==-1) {
is wholly inadequate as an email address validator.
Use the search feature of this forum.
|
I agree, but that's not important. For my purpose, I'm just trying to get the mechanism of performing a validation of some sort working. The actual validation that I will be using will be a simple string comparison. The actual string comparison used here is by the by. Thanks :-)
- CDM