Re: [PHP] Re: preg_split problem

2002-11-09 Thread Marek Kilimajer
if you use list($one,$two,$three,$rest) = preg_split(/\s+/, $text, *4*); you get the remaining elements in $rest as a single string samug wrote: Thanks. But what if you don't know how many elements there will be ahead? Samug [EMAIL PROTECTED] kirjoitti viestiss [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] Re: preg_split problem

2002-11-09 Thread Ernest E Vogelsinger
At 18:59 09.11.2002, samug said: [snip] Thanks. But what if you don't know how many elements there will be ahead? Samug [EMAIL PROTECTED] kirjoitti viestissä news:20021109165530.58233.qmail;pb1.pair.com... Could someone tell me why isn't this working?