Hi,
It might be very simple but I can't find the solution.
I try to import a csv file via textreader and I like to split the line.
The values are between double quotes and separated with ';'
Example:
"Company1";"Product2";"Country3";"Turnover4"
Using Regex.Split(";", line) gives
"Company1"
"Product2"
"Country3"
"Turnover4"
I want however the following:
Company1
Product2
Country3
Turnover4
Using "";"" is not the solution.
Any ideas?
Thanks in advance
Henk
It might be very simple but I can't find the solution.
I try to import a csv file via textreader and I like to split the line.
The values are between double quotes and separated with ';'
Example:
"Company1";"Product2";"Country3";"Turnover4"
Using Regex.Split(";", line) gives
"Company1"
"Product2"
"Country3"
"Turnover4"
I want however the following:
Company1
Product2
Country3
Turnover4
Using "";"" is not the solution.
Any ideas?
Thanks in advance
Henk