Re: Splitting long text

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 1/23/2007 05:52 PM, Skip Evans wrote:
I have a requirement to take a large amount of text, a story submitted to a competition, and split into displayable chunks of 600 words each.


You can explode a text into an array of words, slice off a 600-element array, and implode the result back into text.

http://php.net/explode
http://php.net/implode
http://php.net/array-slice

Regards,

Paul
__________________________

Juniper Webcraft Ltd.
http://juniperwebcraft.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux