remove double quotes from string kotlin

String x="\"abcd";
String z=x.replace("\"", "");
System.out.println(z);