Slowly going out of my mind trying to find out how to do this, as you may have guessed i am quite new to java.

i have a text file which contains a list of values, on each line there is a string value and a double seperated by a comma, these relate to a raw material and its price, the file has 100+ such lines.

what i need to do is to match the string value which my program spits out with a string value in the file and...