How to capitalize the first letter of each word in a string?

>>> "hello world".title()
'Hello World'
>>> u"hello world".title()
u'Hello World'

results matching ""

    No results matching ""