code: private static String removeStringDelimiters(String key) {
  
          String k = key.trim();
          if (CmsStringUtil.isNotEmpty(k)) {
              if (k.charAt(0) == TEXT_DELIMITER) {
                  k = k.substring(1);
              }
              if (k.charAt(k.length() - 1) == TEXT_DELIMITER) {
                  k = k.substring(0, k.length() - 1);
              }
          }
          // replace excel protected quotations marks ("") by single quotation marks
          k = CmsStringUtil.substitute(k, "\"\"", "\"");
          return k;
      }
docs: Removes the string delimiters from a key (as well as any white space
  outside the delimiters).<p>
  
  @param key the key (including delimiters)
  
  @return the key without delimiters