String method: to a title : String toTitle : String : Python examples (example source code) Organized by topic

C++
PHP
Python


Python  »  String   » [  String toTitle  ]  Screenshots 
 



String method: to a title




quote = "Python is easy to use."

print "Original quote:"
print quote

print "\nAs a title:"
print quote.title()

print "\nOriginal quote is still:"
print quote

           
       
Related examples in the same category
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.