I wish to have a .txt file containing string data and read that data one piece at a time to an array, (then perhaps edit the array but this bit I know how to do) then write the array back to the file. I dont mind how that data is kept in the .txt file.

If anyone could show me the code on how to do this, I'd be very grateful.

Thanks.