Separate Int from String on file input : <p>i was wondering if anyone could help me with a little problem in Java:
I have a file with some equations like:</p>

<pre><code>Z=1X1+3X2
-1X1+5X2&lt;=2
1X1-1X2&lt;=56
</code></pre>

<p>and so on..</p>

<p>and i wanted to read this file and separate the values 1 and 3 (of Z=1X1+3X2) in one string and -1,5,2,1,-1,56 in another.</p>
