I don't know exactly.
----- Original Message -----
From: Brandon Orther <[EMAIL PROTECTED]>
To: PHP User Group <[EMAIL PROTECTED]>
Sent: Wednesday, August 29, 2001 12:02 AM
Subject: [PHP] Check if a word is in my string.
> I have a variable with a string in it. I want to check if in that
> string a certain word is in it. Example
> $var = "This is a good sentence";
> $check = look("good", $var);
> and $check would equal 1 since "good" is in that string
> does anyone know how to do this?
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]