code: public static String toUpperFirstChar(final String str)
      {
          return Character.toUpperCase(str.charAt(0)) + str.substring(1);
      }
docs: Uppercase the first character of a given String.
  
  @param str to have the first character upper cased.
  @return a new String with the first character in uppercase.