code: public static String trimQuotes(String val) {
          if ((val.charAt(0) == '"') && (val.charAt(val.length() - 1) == '"')) {
              return val.substring(1, val.length() - 1);
          }
          return val;
      }
docs: Trims the string quotes, if the argument is a java/c string
  @param val the string process for quotes
  @return the same string without quotes, or the same if there are not
  any.