title: Break the string into two lines
body: <p>I want to break a string into two lines, but the line should not break into two, at the half of a word. How can I do this?</p>
  
  <p>The string format is like this:</p>
  
  <pre><code>var words="value.eight.seven.six.five.four.three"
  </code></pre>
  
  <p>Expected output is:</p>
  
  <pre><code>"value.eight.seven.
  
  six.five.four.three"
  </code></pre>