I want to make a extension function in Kotlin, that converts the first letter of each word of the string to upper case
the quick brown fox
to
The Quick Brown Fox
I tried using the capitalize() method. That only though capitalised the first letter of the String.