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 Ge
Split them using explode and then combine the ones you need to combined.
Hope this helps.
--
Anas Mughal
On 12/19/05, Labunski <[EMAIL PROTECTED]> 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 us
[snip]
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.
[/snip]
http://us2.php.net/manual/en/function.chunk-split.php
--
PHP General Mailing List (http://ww
3 matches
Mail list logo