note 43247 added to function.stripos

From: Date: Tue, 15 Jun 2004 14:31:44 +0000
Subject: note 43247 added to function.stripos
Groups: php.notes 
Request: Send a blank email to php-notes+get-71102@lists.php.net to get a copy of this message
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; } ---- Manual Page -- http://www.php.net/manual/en/function.stripos.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43247 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43247&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43247&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#71102) next »