Here you can find the source of unquote(String str)
public static String unquote(String str)
//package com.java2s; //License from project: Apache License public class Main { public static String unquote(String str) { if (str == null) return null; return str.replaceFirst("^\\\"(.*)\\\"$", "$1"); }//from w w w. jav a2s . com }