title: How to split string preserving whole words?
body: <p>I need to split long sentence into parts preserving whole words. Each part should have given maximum number of characters (including space, dots etc.).
  For example:</p>
  
  <pre><code>int partLenght = 35;
  string sentence = "Silver badges are awarded for longer term goals. Silver badges are uncommon."
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>1 part: "Silver badges are awarded for"
  2 part: "longer term goals. Silver badges are"
  3 part: "uncommon."
  </code></pre>