code: static String stripLeadingAndTrailingQuotes(String str)
      {
          int length = str.length();
          if (length > 1 && str.startsWith("\"") && str.endsWith("\"") && str.substring(1, length - 1).indexOf('"') == -1)
          {
              str = str.substring(1, length - 1);
          }
          
          return str;
      }
docs: Remove the leading and trailing quotes from <code>str</code>.
  E.g. if str is '"one two"', then 'one two' is returned.
  
  @param str The string from which the leading and trailing quotes
  should be removed.
  
  @return The string without the leading and trailing quotes.