string word separated by characters and insert into int array
<p>I have the following <code>String word = "12345";</code> I want to split each character and insert this into an int array </p>

<p>like this-</p>

<p><code>int[] array = { 1, 2, 3, 4, 5};</code></p>

<p>whats the fastest and easiest way to do this ?</p>