I am using a data table for storing data.
I am exporting the data from data table to CSV file.
Sometimes there may be values containing comma(,
)
Fields with embedded commas
must be delimited with double-quote characters.
fields:
abc, xyz
pqr
csv version:
"abc, xyz" , pqr
Fields that contain double quote
characters must be surounded by double-quotes, and the embedded double-quotes must each be represented by a pair of consecutive double quotes.
field:
Welcome to "My World"
csv version:
"Welcome to ""My World"""