code: public static String stripQuotes( String input ) {
        if( input.length() < 2 ){
           return input;
        }else if( input.startsWith( SINGLE_QUOTE ) && input.endsWith( SINGLE_QUOTE ) ){
           return input.substring( 1, input.length() - 1 );
        }else if( input.startsWith( DOUBLE_QUOTE ) && input.endsWith( DOUBLE_QUOTE ) ){
           return input.substring( 1, input.length() - 1 );
        }else{
           return input;
        }
     }
docs: Strips any single-quotes or double-quotes from both sides of the string.