Removing double quotes from a string in Java

You can just go for String replace method.-

line1 = line1.replace("\"", "");

Leave a Comment