IF statement question...

From: Date: Wed, 19 May 2004 11:55:02 +0000
Subject: IF statement question...
Groups: php.general 
Request: Send a blank email to php-general+get-186523@lists.php.net to get a copy of this message
Is it possible to request that a string CONTAINS another string...? EG: $string = "1, 2, 3, 7, 8, 9"; if ($string CONTAINS "7") { // Do stuff } ********************************************************************* The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ***********************************************************************

« previous php.general (#186523) next »