Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

# Python string capitalization

# Python string capitalization
string = "this isn't a #Standard Sntence."
string.capitalize() # "This isn't a #standard sentence."
string.upper() # "THIS ISN'T A #STANDARD SENTENCE."
string.lower() # "this isn't a #standard sentence."
string.title() # "This Isn'T A #Standard Sentence."
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Python #string #capitalization
ADD COMMENT
Topic
Name
6+6 =