title: Limiting the Character Count of the Title in Php without splitting words
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/972010/shorten-string-in-php-full-words-only">Shorten String in PHP (full words only)</a><br>
    <a href="https://stackoverflow.com/questions/1104306/how-to-get-first-x-chars-from-a-string-without-cutting-off-the-last-word">How to get first x chars from a string, without cutting off the last word?</a>  </p>
  </blockquote>
  
  
  
  <p>A lot like this question: <a href="https://stackoverflow.com/questions/10505165/how-to-limit-the-length-of-the-title-tag-using-php">How to Limit the Length of the Title Tag using PHP</a></p>
  
  <p>...where the answer is similar to:</p>
  
  <pre><code> [title]  ?php echo substr( $mytitle, 0, 70 );  [/title]
  </code></pre>
  
  <p>...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?</p>