PHP Article Summary Algorithm

Soldato
Joined
12 Jun 2005
Posts
5,361
Hi there,

I was wondering if anyone knows of a good algorithm for creating a summary of an article.

Basically I want to select the first section of full-words that does not go over [y] characters.

Thanks.
 
Perfect Thanks.

---

Instead of starting a new thread.

Does anyone know the preg_replace code so i can get rid of everything enclosed in square brackets, including the brackets themselves.

Thanks.
 
Back
Top Bottom