checking to see if part of a variable exists?

From: Date: Mon, 21 May 2001 10:39:23 +0000
Subject: checking to see if part of a variable exists?
Groups: php.general 
Request: Send a blank email to php-general+get-53690@lists.php.net to get a copy of this message
hi all! i need to see if a $variable has a piece of text included in it. how do i do that? i need to do something like: if ($variable =matches= "@monkeys.com") { then do this} tia!

« previous php.general (#53690) next »