private static String unquoteIfNeeded(String part){
  if (part.length() > 1 && part.charAt(0) == '"' && part.charAt(part.length() - 1) == '"') {
    part=part.substring(1,part.length() - 1);
  }
  return part.trim();
}

private static String unquoteIfNeeded ( String part ) { if ( part . length ( ) > 1 && part . charAt ( 0 ) == '"' && part . charAt ( part . length ( ) - 1 ) == '"' ) { part = part . substring ( 1 , part . length ( ) - 1 ) ; } return part . trim ( ) ; }
unquote string if needed
