Converting string to int[]
<p>I was wondering how I could convert numbers in a string value to an <code>int[]</code>.
I have the following numbers stored in a string:</p>

<pre><code>1,2,3,4
</code></pre>

<p>But I was wondering how I could get these numbers stored in an <code>int[]</code> so each value is stored into the <code>int</code> array.</p>