remove « CSV file « Java I/O Q&A

1. Remove unwanted double quote from .csv file

Hello I have a .csv file like this: Field1,Field2 My Name is,"My ""Pet"" Name is" When a split form (,) the string i get following in text file Field1,Field2 "My Name is", """My """"Pet"""" Doe""" I want to get output same as the input. Any buddy please help me. Thanks in Advance. Sunil

2. how to remove quotations marks from csv file

My input file is a .csv file which contains each value in quotation marks ex: - "123456778","jakob","grade10" Also each record in the input file contains 333 values . i am reading these records and using stringtokenizer to fetch value by value for that record . i want to remove the quotation marks before i put the values back into an output ...