How to split a string on the nth occurrence?
<p>What I want to do is to split on the nth occurrence of a string (in this case it's "\t"). This is the code I'm currently using and it splits on every occurrence of "\t".</p>

<pre><code>string[] items = input.Split(new char[] {'\t'}, StringSplitOptions.RemoveEmptyEntries);
</code></pre>

<p>If input = "one\ttwo\tthree\tfour", my code returns the array of:</p>

<ul>
<li>one</li>
<li>two</li>
<li>three</li>
<li>four</li>
</ul>

<p>But let's say I want to split it on every "\t" after the second "\t". So, it should return:</p>

<ul>
<li>one    two</li>
<li>three</li>
<li>four</li>
</ul>
