Reply to Re: strings and conditionals..

Your name:

Reply:


Posted by maya on 06/12/06 00:49

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..



Inviato da X-Privat.Org - Registrazione gratuita http://www.x-privat.org/join.php

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация