Java - Split a string to an array
<p>I have a number that is submitted by the user.<br>
I want to make something like this: <code>1568301</code><br>
to an array like this: <code>1, 5, 6, 8, 3, 0, 1</code>.</p>

<p>How can I do this without adding "," between every digit or something like that? (type int).</p>

<p>Thanks.</p>
