Posted by maya on 06/12/06 00:45
Toby Inkster wrote:
> maya wrote:
>
>
>>if (email.indexOf('@') != -1) { // etc..
>
>
> if (strstr(email, '@')!==FALSE)
> {
> // etc...
> }
>
thank you.. this is exactly what I was looking for ..
(noticed that it works both with '!==' and '!='.... there's probably
some subtle difference I'm still not aware of....:) thank you very much..
[Back to original message]
|