public static String createUnquotedConstant ( String str ) { if ( str == null || str . isEmpty ( ) ) { return str ; } if ( str . startsWith ( "\"" ) ) { str = str . substring ( 1 ) ; } if ( str . endsWith ( "\"" ) ) { str = str . substring ( 0 , str . length ( ) - 1 ) ; } return str ; }
Removes double - quotes from around a string