Parsing semi colon delimeter file
问题 I have a CSV file but the delimiter is a semi colon ; and each column is enclosed with double quotes. There are also occurrences of ; in some values such as & amp; I am using TextFieldParser to parse the file. This is the sample data: "A001";"RT:This is a tweet"; "http://www.whatever.com/test/module & amp;one" For the above example , I am getting more columns/fields than what I should get. Field[0] = "A001" Field[1] = "RT:This is a tweet" Field[2] = "http://www.whatever.com/test/module&"