Possible Duplicate:
Capitalize First Char of Each Word in a String Java
What would be the easiest way to write a function that makes the following String transformations; here are some examples:
- hello --> Hello
- hello world --> Hello World
I just have some tags in the Db, and I wan to ensure that have consistent case; I know of course this could be done in the traditional sense, but I'm just interested to know if there are more convenient/reliable functions that could help to accomplish this.