Re: please help -- simple string problem

From: Date: Mon, 31 Jul 2000 01:28:37 +0000
Subject: Re: please help -- simple string problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-9094@lists.php.net to get a copy of this message
See the strstr() function in the manual. On Sun, 30 Jul 2000, Robert S. White wrote: > i have a simple problem, but could not find the solution in the manual. i have a string > "abcdefghijklmnopqrstuvwxyz" and i want to do something like this > > if (string contains "hij") > { > echo "contains hij"; > } > else > { > echo "does not contain "hij"; > } > > if you can tell me how to do this, i would really appreciate it...please email me directly at > rswfire@yahoo.com ... thankz > > > __________________________________________________ > Do You Yahoo!? > Kick off your party with Yahoo! Invites. > http://invites.yahoo.com/ > >

« previous php.general (#9094) next »