I\'ve seen lots of samples in parsing CSV File. but this one is kind of annoying file...
so how do you parse this kind of CSV
\"1\",1/2/2010,\"The sample (\"adas
I very strongly recommend using TextFieldParser. Hand-coded parsers that use String.Split
or regular expressions almost invariably mishandle things like quoted fields that have embedded quotes or embedded separators.
I would be surprised, though, if it handled your particular example. As others have said, that line is, at best, ambiguous.