note 107070 deleted from function.strpbrk by googleguy

From: Date: Sat, 15 Sep 2012 16:29:38 +0000
Subject: note 107070 deleted from function.strpbrk by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-190789@lists.php.net to get a copy of this message
Note Submitter: b dot pleshka at gmail dot com ---- Simple code to define symbol (@) in the string <?php $name = "username@example.com"; if (strpbrk($name, '@') != FALSE) { echo "There is @"; } else { echo "There isn't @"; } ?>

« previous php.notes (#190789) next »