public static String unquote(String string) {
        if (string.startsWith("'") && string.endsWith("'")) {
            string = string.substring(1, string.length() - 1);

            if ((string.indexOf("\\n") != -1) || (string.indexOf("\\r") != -1) ||
                    (string.indexOf("\\'") != -1) || (string.indexOf("\\\"") != -1) ||
                    (string.indexOf("\\\\") != -1) ||
                    (string.indexOf("\\t") != -1) || (string.indexOf("\\%") != -1)) {
                string = unbackQuoteChars(string);
            }
        }

        return string;
    }