I have a text file that looks like the following...


Name | Title
Dave | Mr
Mark | Sir
John | Dr

I need to open the file (c:\list.txt) and add each line(witch will vary) to a string. so i will end up with an array of strings. and when someone adds a person to the list the program when run again will be able to add an extra plac in the array.

I basicly need the reading the lines of a file into an array part.

can some one please help?


Tanks in advance,


David Bell