RE: [PHP] please help -- simple string problem
| From: | John Coggeshall | Date: | Sun, 30 Jul 2000 13:29:27 +0000 |
| Subject: | RE: [PHP] please help -- simple string problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-9095@lists.php.net to get a copy of this message | ||
http://www.php.net/manual/function.strstr.php
apparently you didn't look close enough.
John
-----Original Message-----
From: Robert S. White [mailto:rswfire@yahoo.com]
Sent: Sunday, July 30, 2000 9:34 PM
To: php-general@lists.php.net
Subject: [PHP] please help -- simple string problem
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/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net