string.title()

string.title()

string.title() method

>>> "they're bill's friends from the UK".title()
"They'Re Bill'S Friends From The Uk"

Return a titlecased version of the string where words start with an uppercase character and the remaining characters are lowercase.

Related concepts

string.title()

string.title() — Structure map

Clickable & Draggable!

string.title() — Related pages: