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()
ExpandDiskEdit
erlang
Caps = string:join(lists:map(fun(S) -> to_caps(S) end, string:tokens("man OF stEEL", " ")), " "),
ExpandDiskEdit
fantom
"man OF stEEL".split.map { it.localeLower.localeCapitalize }.join(" ")

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