"one\ntwo\nthree" |
o.k.: end-of-line characters are denoted by \n |
"Caf\u00e9" |
o.k.: 'e' is denoted by \u00e9 |
’Hello "John"’ |
illegal: strings must be enclosed in quotes (not in apostrophes) |
"Hello \"John\"" |
o.k.: quotes in a string are denoted by \" |
@"Hello ""John""" |
o.k.: since the string starts with @, quotes in the string must be doubled |
"quote /* " */ " |
illegal: string must not contain a quote (not even as a comment) |