|
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--
|