title: How to add new lines inside of the object?
body: <p>I've got this piece of code and I need to add inside of <code>this.info().Info</code> a new lines after each 10 words. I'm not very familiar with JavaScript and I'm learning it, but I don't know how to do this.
  <code>this.info().Info</code> stores Lorem Ipsum text that is written inside of a field and than saved.</p>
  <pre><code> $(this.data()).after('&lt;tr class=&quot;info-row&quot;&gt;&lt;td colspan=&quot;100&quot;&gt;&lt;div&gt;' + this.info().Info + '&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;');
  </code></pre>