Methode zur Formatierung:
Code: Select all
private String formatItemName(String item) {
item = item.toLowerCase(); // make all letters lowercase
return item.substring(0, 1).toUpperCase() // capitalize first letter
+ item.substring(1); // add the rest
}
Mobile version