title: javascript - how to break up a string every X amount of characters?
body: <p>How do I break up a string every X amount of characters?  For example, I'd like to break up a very long string every 1000 characters, and the string could be completely random everytime.</p>
  
  <p><code>var string = &lt;my text string that is thousands of characters long&gt;</code></p>