View Problem

Define a string containing special characters

Define the literal string "\#{'}${"}/"
ExpandDiskEdit
scala Java 1.5 or later
val special = "\\#{'}${\"}/"
val special2 = """\#{'}${"}/"""
ExpandDiskEdit
erlang
Special = "\\#{'}\${\"}/",
ExpandDiskEdit
csharp
string verbatim = @"\#{'}${""""}/";
string cStyle = "\\#{'}${\"\"}/";
ExpandDiskEdit
cpp
std::string special = "\\#{'}${\"}/";
ExpandDiskEdit
cpp C++/CLI .NET 2.0
String^ special = L"\\#{'}${\"}/";

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