[Solved] Get specific information from text file


You could use the split function of a string.

Therefore you read in the complete line into a string variable, e.g. line, and then use line.split(" ") with a space as argument.

This will return an array containing both values, of which you can proceed with the second.
For further information: Java String.split()

solved Get specific information from text file