Converting first character of String variable to capital.
I've been learning about Java for a while now, and have a bit of a problem I'm not even sure can be solved.
I'm making a quick text based game for a friend who writes the story, but can't write the code. I am hoping to have a part where the player enters their name using Scanner and next String. Is it possible to have the Name variable ignore all case and then capitalise only the first letter of each word (separated by a space).
For example player enters:
The Name variable will be set to 'Bob Jones' and nothing else.
Thanks for any help,