DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
make the first letter of a string upper case
>>> "hello world".title() 'Hello World' >>> u"hello world".title() u'Hello World'
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#letter
#string
#upper
#case
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit