capitalize string java
String str = "hello world!";
// capitalize first letter
String output = str.substring(0, 1).toUpperCase() + str.substring(1);
// print the string
System.out.println(output);
// Hello world!
Also in Java:
- java map geeksforgeeks
- android switch on change
- system.in example in java
- java string to integer
- check if optional is empty java
- find maven version
- cgange background from button click java fx
- jtable fill panel
- how add strings together
- java repository sql find not in list
- Error executing Maven. java.io.FileNotFoundException: The specified user settings file does not exist: /etc/java-8-openjdk
- filter in list by time java
- java string to uuid
- java convert string to int array
- arrays.fill java
- java loop
- parsedouble java
- bukkit java get player count
- creating file in specific location in java application
- tolowercase java
- add two numbers bitwise
- spigot respawn player location
- how to remove a certain string in a arraylist java
- from file to array java