Possible Duplicate:
Reading csv file
I have a comma delimited file:
"Some Text, More Text", 1, 2, 3,4,5,6
"Random Text, text text", 2,4,5,6,7,8
var content = reader.ReadLine();
var stringArray = content.Split(',');
The problem is the text ends up being split into two parts. I want to keep it as one unit. So what are my options?
EDIT: I meant like
Some Text
More Text 1
2
3
4
5
6
I want it like
Some Text,More Text
1
2
3
4
5
6