question: static String omitQuotesIfExist ( String str ) { if ( str == null ) { return null ; } if ( ( ( str . charAt ( 0 ) == '\"' ) || ( str . charAt ( 0 ) == '\'' ) ) && ( str . length ( ) >= 2 ) ) { str = str . substring ( 1 , str . length ( ) - 1 ) ; } return str ; }
target:  Omits quotes of all kinds if they exist in the string