We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

CSV Import


Trying to import a double-quoted qualified comma-separated CSV file and it doesn’t seem to handle commas within the lines.

“123”,“Text”,“More Text”

Is imported as
123-----Text-----More Text
456-----Text ----More------------Text

I am setting setSeparator(’,’), but can’t seem to find a qualifier option?

Please share your sample CSV and output file, and code snippet with us for our testing. We will reproduce the problem and provide our feedback after analysis. Please ZIP the files prior attaching.

Issue appears to have been caused by extraneous double quote characters in the fields. I will strip them out using REPLACE or REGEX. Thank you for the quick response.

It seems that your issue is sorted out and feel free to contact us at any time if you need further help or have some other issue or queries, we will be happy to assist you soon.