RTEditor/src/main/java/com/onegravity/rteditor/converter/tagsoup/Parser.java
private static String trimquotes(String in) {
        if (in == null)
            return in;
        int length = in.length();
        if (length == 0)
            return in;
        char s = in.charAt(0);
        char e = in.charAt(length - 1);
        if (s == e && (s == '\'' || s == '"')) {
            in = in.substring(1, in.length() - 1);
        }
        return in;
    }
private static String trimquotes(String in) {
        if (in == null)
            return in;
        int length = in.length();
        if (length == 0)
            return in;
        char s = in.charAt(0);
        char e = in.charAt(length - 1);
        if (s == e && (s == '\'' || s == '"')) {
            in = in.substring(1, in.length() - 1);
        }
        return in;
    }
private static String trimquotes ( String in ) { if ( in == null ) return in ; int length = in . length ( ) ; if ( length == 0 ) return in ; char s = in . charAt ( 0 ) ; char e = in . charAt ( length - 1 ) ; if ( s == e && ( s == ' ' || s == ' ' ) ) { in = in . substring ( 1 , in . length ( ) - 1 ) ; } return in ; }
If the String is quoted, trim the quotes.
If the String is quoted trim the quotes .