Hey guyz.. I want to know how to print certain line from the text file and certain part of the record for example
data.txt...
123 John Smith 80
222 chris brown 50
325 christine 60
I only want to print out the name from the record in the text file..
for example when the user enter 222 for the id it should print out the id and the name .... 222 chris brown
anyone please help ....thx