How to upper case every first letter of word in a string? [duplicate]

Have a look at ACL WordUtils.

WordUtils.capitalize("your string") == "Your String"

Leave a Comment