title: How to cut the string in javascript so that it fits exactly two lines & add ... at the end
body: <p>I have a requirement where in i have to display the text for two lines &amp; add ... if its overflowing
  My div Width is fixed.(Even height can be considered as fixed).</p>
  <p><strong>Actual text looks like this:</strong></p>
  <h1>1</h1>
  <p>Lorem Ipsum is simply<br/>
  dummy text of the printing<br/>
  and typesetting industry. <br/></p>
  <h1>2</h1>
  <p>Lorem Ipsum is simply text <br/>
  of the printing and types<br/>
  industry.<br/></p>
  <p><strong>Expected:</strong></p>
  <h1>1</h1>
  <p>Lorem Ipsum is simply <br/>
  dummy text of the print...<br/></p>
  <h1>2</h1>
  <p>Lorem Ipsum is simply text<br/>
  of the printing and typ...<br/></p>
  <p>I do not want to overload with plugins(three dots jquery plugin does that).</p>
  <p>I'm planning to do just by cutting(split) the string as div width is fixed.</p>
  <p>Thanks in Advance.</p>