|
Hey all,
I have come up with some pretty outlandish solutions to this problem, but I feel like there has to be something elegant and simple out there.
I can easily cut a string after X# of characters, but whats the best way to cut it after a certain number of words, that or cut it after X# of characters and then round up if its in the middle of a word.
Basically I am trying to echo the first couple sentences of an article onto the homepage as a teaser.
Thanks
__________________
DVD Movie Release Database: Please login or register to view this content. Registration is FREE
|