how to remove quotes in java string code example Example: remove double quotes from string kotlin String x="\"abcd"; String z=x.replace("\"", ""); System.out.println(z);