Re: Splitting at word count
| From: | Christian Reiniger | Date: | Fri, 26 Jan 2001 12:15:27 +0000 |
| Subject: | Re: Splitting at word count | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36745@lists.php.net to get a copy of this message | ||
On Thursday 25 January 2001 21:06, H. Wade Minter wrote:
> Does anyone have a good idea on how to split after a certain number of
> words?
Attached is code that semi-intelligently limits strings to a certain
number of characters. Perhaps that helps you.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"use the source, luke." (obi-wan gnuobi)
Attachment: [text/x-java] stringlimit.php
Attachment: [text/x-java] stringlimit.php