View Problem

Define a string containing special characters

Define the literal string "\#{'}${"}/"
DiskEdit
python
# yes, Python has way too many forms of string literals :)
print "\\#{'}${\"}/"
print "\\#{'}${"'"'"}/"
print r"""\#{'}${"}/"""
print '\\#{\'}${"}/'
print '\\#{'"'"'}${"}/'
print r'''\#{'}${"}/'''
DiskEdit
clojure
(def special "\\#{'}${\"}/")
ExpandDiskEdit
fsharp
let special = "\#{'}${\"}/"
ExpandDiskEdit
fantom
special := Str<|\#{'}${"}/|>
ExpandDiskEdit
cpp
std::string special = "\\#{'}${\"}/";
ExpandDiskEdit
cpp C++/CLI .NET 2.0
String^ special = L"\\#{'}${\"}/";

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