Formatting a String for a name in java -


how change case of first character in string has multiple words? example:

first last

to

first last

or

the fat cat hungry

to

the fat cat hungry

tolowercase

public string tolowercase() 

converts of characters in string lower case using rules of default locale.

returns: string, converted lowercase.

next time, search java api first.


Comments