Here you can find the source of unquote(String quotedString)
public static String unquote(String quotedString)
//package com.java2s; //License from project: GNU General Public License public class Main { public static String unquote(String quotedString) { if (quotedString == null) return quotedString; if (quotedString.startsWith("\"") && quotedString.endsWith("\"")) { return quotedString.substring(1, quotedString.length() - 1); }//from w w w. j a v a 2 s . co m return quotedString; } }