View Problem

Capitalise the first letter of each word

Transform "man OF stEEL" into "Man Of Steel"
DiskEdit
python
from string import capwords
capwords("man OF stEEL")
DiskEdit
python 2.4
' '.join(s.capitalize() for s in "man OF stEEL".split())
DiskEdit
python
"man OF stEEL".title()
DiskEdit
csharp
System.Threading.Thread.CurrentThread.CurrentCulture.TextInfo.ToTitleCase("man OF stEEL".ToLowerInvariant());
ExpandDiskEdit
fantom
"man OF stEEL".split.map { it.localeLower.localeCapitalize }.join(" ")
DiskEdit
clojure
(use 'clojure.contrib.str-utils2)
(join " " (map capitalize (split "man OF stEEL" #" ")))

Submit a new solution for python, csharp, fantom, or clojure
There are 28 other solutions in additional languages (cpp, erlang, fsharp, go ...)