code: public static String capitalize (String s)
      {
          if (isBlank(s)) {
              return s;
          }
          char c = s.charAt(0);
          if (Character.isUpperCase(c)) {
              return s;
          } else {
              return String.valueOf(Character.toUpperCase(c)) + s.substring(1);
          }
      }
docs: Returns a version of the supplied string with the first letter capitalized.