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