Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python capitalize first letter of each word in a string

>>> "hello world".title()
'Hello World'
>>> u"hello world".title()
u'Hello World'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #capitalize #letter #word #string
ADD COMMENT
Topic
Name
2+4 =