Currently I am running a program that receives data from an outside device and displays it to the console. I need to be able to take the information received and save it to a log file of some sort. I then need to be able to parse each line for several different things. My information is seperated by "comma's" which should make the parsing easier. This is an example of my string that I need individual data parsed from.


Dear bumassjp,
I got your problem in getting each item

Read file data

string data = null;
data = File.ReadAllText("FilePath");
data = data.Remove(0); //to remove $
string items = data.Split(','); // to get each item

in your input the items[2] would be 'A' vbrep_register("432928")