Extract of a Paragraph
| From: | Daniel Perez Clavero | Date: | Wed, 04 Feb 2004 14:00:44 +0000 |
| Subject: | Extract of a Paragraph | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-176795@lists.php.net to get a copy of this message | ||
Hi list,
I would like to show a extract (first 50 words of a text), in order to
construct something similar to articles view with read more link.
To Extract the first 50 words, should I use str_word_count, and
explode/implode or there´s another way, much simple.
Any sample would be apreciated.
Regards