Fields and text and all that wonderful stuff :P

ok, how do you read out a record from a text file?

eg you write something to a text file with “field” seperated by tabs and then want to read off each field seperatly so that you can put it into a table or something