note 43247 deleted from function.stripos by nlopess

From: Date: Tue, 15 Jun 2004 16:19:12 +0000
Subject: note 43247 deleted from function.stripos by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-71107@lists.php.net to get a copy of this message
Note Submitter: Gatti from Brazil ---- a function that can be helpul to test if string is in another function instr($str, $main_str){ //return true if the string $str is in string $main_str // and false if it isn't return ( strpos($main_str,$str) === false ) ? false : true; }

« previous php.notes (#71107) next »