View Problem

Make a string uppercase

Transform "Space Monkey" into "SPACE MONKEY"
DiskEdit
python
"Space Monkey".upper()
DiskEdit
clojure
(.toUpperCase "Space Monkey")
ExpandDiskEdit
fsharp
printfn "%s" ("Space Monkey".ToUpper())
ExpandDiskEdit
fsharp
printfn "%s" (String.uppercase "Space Monkey")
ExpandDiskEdit
erlang
io:format("~s~n", [string:to_upper("Space Monkey")]).
ExpandDiskEdit
fantom
s := "Space Monkey".localeUpper
ExpandDiskEdit
cpp C++/CLI .NET 2.0
String(L"Space Monkey").ToUpper();
ExpandDiskEdit
cpp
std::string s = "Space Monkey";
std::transform(s.begin(), s.end(), s.begin(), std::toupper);
ExpandDiskEdit
cpp
std::string s = "Space Monkey";
boost::to_upper(s);

Submit a new solution for python, clojure, fsharp, erlang ...
There are 11 other solutions in additional languages (csharp, go, groovy, haskell ...)