Trouble accepting double quotes between single quotes #1722
-
Hello, I'm trying to read some data from a csv. This is the structure of my data: This is my configuration as of now: My issue is that I want to accept double quotes inside a string e.g. 'This is 3"' but can't seem to make it work when looking around the documentation and with this configuration. Any ideas on how to accept double qoutes inside my strings? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
UPDATE!
With this configuration, it seems to be handling the double qoutes inside my strings just fine. |
Beta Was this translation helpful? Give feedback.
UPDATE!
var config = new CsvConfiguration(CultureInfo.InvariantCulture) { Delimiter = "$", Quote = '\'', Escape = '\'', Mode = CsvMode.RFC4180 };
With this configuration, it seems to be handling the double qoutes inside my strings just fine.
So consider this question to be answered as of now.