I have a string: "hello good old world" and i want to upper case every first letter of every word, not the whole string with .toUpperCase(). Is there an existing java helper which does the job?
Have a look at ACL (Apache Common Lang Library) WordUtils. Below is sample code: (commons-lang-2.6)
If you want to implement your capitalize function, check below sample groovy code:
* Wiki - ASCII Table (American Standard Code for Inf...mation Interchange，美國資訊交換標準代碼)