Thread: summary
View Single Post
Old 05-07-2003, 12:05 PM   #7 (permalink)
Epsilon
Regular Contributor
 
Epsilon's Avatar
 
Join Date: Mar 2003
Location: Las Vegas, NV
Posts: 131
Epsilon is on a distinguished road
The way I would do it (not sure if it's the most efficient way) is to grab the whole article from the database, use explode to load it into an array, splitting on the whitespace. Then chop off all elements past the 100th, then use implode to turn the array back into a string.
__________________
--Epsilon--
Epsilon is offline   Reply With Quote