Using string.capwords() does convert first letter of word to caps, but also deCaps all other letters in the same word. If a song title is all caps, this does not works properly. So to solve this, write a utility function.
- It should capitalize the first letter of all words in the string.
- Should not affect any other letter of the words except the first.
Using string.capwords() does convert first letter of word to caps, but also deCaps all other letters in the same word. If a song title is all caps, this does not works properly. So to solve this, write a utility function.