On Wed, 20 Jun 2007 12:32:53 +0200

Norman Khine <[EMAIL PROTECTED]> wrote:

> My question is how to get all the words in the string to start with
> capital letter?
title() should do it

>>>a = "hello world"
>>>a.title()
>>>'Hello World'
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to