code: static String firstToUpper(String name){
          if (name.length() == 1){
              return name.toUpperCase();
          }
  
          String firstLetter = name.substring(0, 1).toUpperCase();
          return firstLetter + name.substring(1);
      }
docs: Changes the first char of the received {@link String} to uppercase.
  @param name The received {@link String}.
  @return The received {@link String} with the first char in uppercase.