Java/ read from .txt file
<p>I have .txt file, and I want to read from it to char array.</p>

<p>I have problem, in the .txt file I have:</p>

<pre><code>1  a

3  b

2  c
</code></pre>

<p>which mean that a[1]='a', a[3]='b', a[2]='c'.</p>

<p>How in reading the file, I ignore from spaces, and consider the new lines? Thanks</p>
