Split a string only the at the first n occurrences of a delimiter
<p>I'd like to split a string only the at the first n occurrences of a delimiter. I know, I could add them together using a loop, but isn't there a more straight forward approach?</p>

<pre><code>var string = 'Split this, but not this';

var result = new Array('Split', 'this,', 'but not this');
</code></pre>
