Substr by words

From: Date: Sat, 29 Oct 2005 11:36:55 +0000
Subject: Substr by words
Groups: php.general 
Request: Send a blank email to php-general+get-224804@lists.php.net to get a copy of this message
Hi, I need to extract 50 words more or less from a description field. How can i do that?. Substr, cuts the words. Is there any other way to that, without using and array? I mean and implemented function in PHP 4.x I´ve been googling around, but wordwrap, and substr is driving me mad... Thanks in advance Best Regards -- dpc

« previous php.general (#224804) next »