code: public static String removeQuotes(String arg) {
          if (arg == null) {
              return null;
          }
          int length = arg.length();
          if (length > 1 && arg.startsWith("\"") && arg.endsWith("\"")) {
              return arg.substring(1, length - 1);
          }
          return arg;
      }
docs: Removes leading and trailing quotes from the input argument, if they
  exist.
  
  @param arg
  The argument you want to parse
  @return The argument, without leading and trailing quotes