code: public static String capitalize(String input) {
          char[] stringArray = input.toCharArray();
          stringArray[0] = Character.toUpperCase(stringArray[0]);
          return new String(stringArray);
      }
docs: Capitalize first word in a string
  
  @param input string to capitalize
  @return capitalized string(first letter only)