Possible Duplicate:
Shorten String in PHP (full words only)
How to get first x chars from a string, without cutting off the last word?
A lot like this question: How to Limit the Length of the Title Tag using PHP
...where the answer is similar to:
[title] ?php echo substr( $mytitle, 0, 70 ); [/title]
...but is there any way to accomplish this where the solution does not cut any words in half? So if the word partially exceeds the character count of the limit, the solution would remove the full word, rather than limit it at the character count?