RTEditor/src/main/java/com/onegravity/rteditor/converter/tagsoup/Parser.java
private String prefixOf(String name) {
        int i = name.indexOf(':');
        String prefix = "";
        if (i != -1)
            prefix = name.substring(0, i);
        return prefix;
    }
private String prefixOf(String name) {
        int i = name.indexOf(':');
        String prefix = "";
        if (i != -1)
            prefix = name.substring(0, i);
        return prefix;
    }
private String prefixOf ( String name ) { int i = name . indexOf ( ' ' ) ; String prefix = "" ; if ( i != - 1 ) prefix = name . substring ( 0 , i ) ; return prefix ; }
Get the prefix from a QName
Get the prefix from a QName