You can just go for String
replace method.-
line1 = line1.replace("\"", "");
Use replace method of string like the following way:
String x="\"abcd";
String z=x.replace("\"", "");
System.out.println(z);
Output:
abcd
String withoutQuotes_line1 = line1.replace("\"", "");
have a look here
Source: Stackoverflow.com