title: Trim text to 340 chars
body: <p>I'm pulling blog posts from a DB. I want to trim the text to a max length of 340 characters. </p>
  
  <p>If the blog post is over 340 characters I want to trim the text to the last full word and add '...' on the end. </p>
  
  <pre><code>E.g.
  
  NOT: In the begin....
  
  BUT: In the ...
  </code></pre>