J have CSV File first row is like this :
LOC;11000;"Autorisation "valide";10;;
When i try to read it with CSVReader i have only this:
LOC;11000
I know the problem is the double quote, how i can do to remove all double quote on my CSV ?
I try replace method is dosnt work.
My code is:
while ((line = reader.readNext()) != null) {
for(int i = 0; i<line.length; i++) {
if (line[i].contains("\"")){
line[i] = line[i].replace("\"", ""); // same result with replaceAll method
}
System.out.print(line[i]+" ");
}
}
Thank you.