Possible Duplicate:
Dealing with commas in a CSV file
I wrote myself a CSV parser it works fine until I hit this record:
B002VECGTG,B002VECGTG,HAS_17131_spaceshooter,"4,426",0.04%,"4,832",0.03%,0%,1,0.02%,$20.47 ,1
The escaped , in "4,426" and in "4,426" brake my parser.
This is what I am using to parse the line of text:
char[] comma = { ',' };
string[] words = line.Split(comma);
How do I prevent my program from breaking?