How can i read equations from txt file and get these equations coefficients for ex. 3.2x-5.6y=10
is in txt file and i need 3.2
,-5.6
and 10
for making graph gui program.
I tried bufferedreader
but i cant get coefficients.
BufferedReader reader = null;
reader = new BufferedReader(new FileReader("input.txt"));
String line = reader.readLine();