Re: char function

From: Date: Tue, 25 Jun 2002 18:47:08 +0000
Subject: Re: char function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103816@lists.php.net to get a copy of this message
php.net/strstr Will return the string instead of true, but it will probably work for whatever you want to do... if ( strstr($string1, $string2) ) works perfectly well On Tuesday 25 June 2002 03:23 am, Leo wrote: > i want a logical function (true or false) that search a character into a > string.(like indexOf() in javascript) > example: i want to find char '@ ' in the string mymail@domain.com. > > leo -- To Believe without evidence and demonstration is an act of ignorance and folly. Volney

« previous php.general (#103816) next »