Have a look at ACL WordUtils.
WordUtils.capitalize("your string") == "Your String"
More Related Contents:
- Replace a character specific number of times in String Java
- Java; Initializing A Count of Input, After Period Is Entered
- How to parse a mathematical expression given as a string and return a number? [duplicate]
- Regex to match a C-style multiline comment
- Difference between String replace() and replaceAll()
- Splitting a string at every n-th character
- Convert float to String and String to float in Java
- How to split a string in Java
- Why is the String class declared final in Java?
- Java – Best way to grab ALL Strings between two Strings? (regex?)
- Fast algorithm for searching for substrings in a string
- Java change áéőűú to aeouu [duplicate]
- Extracting pairs of words using String.split()
- How to determine if a String has non-alphanumeric characters?
- How to compress a String in Java?
- Why does String.replace not work? [duplicate]
- will two strings with same content be stored in the same memory location?
- Use of the String(String) constructor in Java [duplicate]
- Why does appending “” to a String save memory?
- How to convert a String to CharSequence?
- How to add text to an image in java?
- Is Java’s assertEquals method reliable?
- How to convert String object to Boolean Object?
- Sort a single String in Java
- Java string intern and literal
- Java split String performances
- Find all words with 3 letters with regex
- Using DocumentFilter.FilterBypass
- Parse Date from String in this format : dd/MM/yyyy [to dd/MM/yyyy]
- How many Java objects are generated by this – new String(“abcd”)