Hello All,
I have a very simple question:
Want to remove the string after the first whitespace like:
"here is a text what i have" to: "here"
$word = substr($sentence,0,strpos($sentence,' '));
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php