Re: [PHP] Substr by words

2005-10-29 Thread Richard Lynch
On Sat, October 29, 2005 6:36 am, Danny wrote: > I need to extract 50 words more or less from a description field. How > can i > do that?. Substr, cuts the words. Is there any other way to that, > without > using and array? I mean and implemented function in PHP 4.x > I´ve been googling around, b

[PHP] Substr by words

2005-10-29 Thread Danny
Hi, I need to extract 50 words more or less from a description field. How can i do that?. Substr, cuts the words. Is there any other way to that, without using and array? I mean and implemented function in PHP 4.x I´ve been googling around, but wordwrap, and substr is driving me mad... Thanks in