I'd Just like to say thanks to ray and Antoine for the quick replies
As for the code it does work however it displays all the information in the file where as i only need one coloumn of the information,
for example the file is like this
example,example1,example2,example3,example4
example,example1,example2,example3,example4
example,example1,example2,example3,example4
example,example1,example2,example3,example4
example,example1,example2,example3,example4
atm ive got the program to read through and store all this information however i only need the information contained in example3
all the information goes down in sink so there are a set amount of commas between the different points of information. it seems the code supplied by Antoine goes through the whole the file and stores all the information as when i get it to display to the screen it simply displays all of it.
Can i change the current code from Antoine to just store and grab the information i need from example3. Or will i need to use something different?
Any more help would be really greatful