View Problem

Make a string uppercase

Transform "Space Monkey" into "SPACE MONKEY"
ExpandDiskEdit
ruby
uppper = text.upcase
DiskEdit
clojure
(.toUpperCase "Space Monkey")
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);
ExpandDiskEdit
erlang
io:format("~s~n", [string:to_upper("Space Monkey")]).

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