public static String unquote ( final String aValue ) { if ( aValue != null && aValue . startsWith ( "\"" ) && aValue . endsWith ( "\"" ) ) { return aValue . substring ( 0 , aValue . length ( ) - 1 ) . substring ( 1 ) ; } return aValue ; }
Convenience method for removing surrounding quotes from a string value .