title: Truncate a string without ending in the middle of a word
body: <p>I am looking for a way to truncate a string in Python that will not cut off the string in the middle of a word.</p>
  
  <p>For example:</p>
  
  <pre>
  Original:          "This is really awesome."
  "Dumb" truncate:   "This is real..."
  "Smart" truncate:  "This is really..."
  </pre>
  
  <p>I'm looking for a way to accomplish the "smart" truncate from above.</p>