Re: ? Split string into smaller chunks

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

 



Labunski wrote:
> I need to split a long string into smaler chunks (an array), as a separator 
> using every third \n (and not just every \n).
> I could use 'explode', but then it would produce too many chunks.

php.net/preg_split

Cheers,

David
-- 
David Grant
http://www.grant.org.uk/

-- 
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