title: JS string.split() without removing the delimiters
body: <p>How can I split a string without removing the delimiters?</p>
  
  <p>Let's say I have a string:
  <code>var string = "abcdeabcde";</code></p>
  
  <p>When I do
  <code>var newstring = string.split("d")</code>, I get something like this:</p>
  
  <p><code>["abc","eabc","e"]</code></p>
  
  <p>But I want to get this:</p>
  
  <p><code>["abc","d","eabc","d","e"]</code></p>
  
  <p>When I tried to do my "split2" function, I got all entangled in splice() and indexes and "this" vs "that" and ... aargh! Help! :D</p>