Searching in a string

From: Date: Sun, 10 Sep 2000 06:20:49 +0000
Subject: Searching in a string
Groups: php.general 
Request: Send a blank email to php-general+get-16036@lists.php.net to get a copy of this message
Hello. I have a string, let's say $string and that has several things in it. So, $string=hello,there,world;. I would like to know if I can do a simple if statement to see if world is in $string. world might not always be in $string, so I need to make sure. How can I do this? Thank you in advance. PLEASE EMAIL ME A REPLY. MS Outlook Express will DIE after I visit the php.general news group. It will just freeze. I can look at the posts, but I can't look at anything else without rebooting.

« previous php.general (#16036) next »