code: public char getChar(String key) {
          String s = getString(key);
          if (s == null || s.trim().length() == 0) {
              return (char) 0;
          } else {
              return s.charAt(0);
          }
      }
docs: Gets the first character of the String associated with <code>key</code>.
  
  @param key the key to lookup
  @return the first character of the String associated with
  <code>key</code>.