toTitleCase

Converts a String to title case. Example: "hello world".toTitleCase() → "Hello World"