Here you can find the source of unquote(String val)
private static String unquote(String val)
//package com.java2s; public class Main { private static String unquote(String val) { if ((val.startsWith("\"") && val.endsWith("\"")) || (val.startsWith("'") && val.endsWith("'"))) { return val.substring(1, val.length() - 1); }// w w w.j a v a2s. c o m return val; } }