Hello, I would like to capitalize each word from an input form. The problem is that the input form can be added as:
"HELLO world" "hello world" "HELLO WORLD" etc.. If I do this: >>> string = "HELLO world" >>> print string.capitalize() Hello world >>> only the first word gets capitalized. My question is how to get all the words in the string to start with capital letter? Basically what I would like is to normalize the data input and store this correctly in the database. Maybe there a simpler approach to this data input problem. Many thanks Norman _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor