code: public static @NotNull String capitalize(@NotNull String s) {
          return s.isEmpty() ? s : (toUpperCase(s.charAt(0)) + s.substring(1));
      }
docs: Returns given string with its first letter in uppercase.