code: public static String getWithFirstUpperCase(String string) {
          if (string == null) {
              return "";
          }
  
          if (string.length() == 1) {
              return string.substring(0, 1).toUpperCase();
          }
  
          return string.substring(0, 1).toUpperCase() + string.substring(1);
      }
docs: /*
  return string with first upper case