Conventional string literals

Conventional string literals are enclosed in double quotes (
They support the same escape sequences as in C++ programming language (
, etc.).

Raw string literals

Raw string literals are enclosed in paired single quotation marks: characters
How to type this symbols see here.

If raw string should contains unpaired single quotation marks, then balancing of raw string should be performed like as for raw HTML in pq markup (see Advanced formatting. Raw HTML).
For example, there is a string
It contains unpaired closing single quotation mark. Let's add a balancing opening single quotation mark at the beginning of the string: don’t.
Enclose that balanced string in single quotation marks: ‘don’t.
Now we need to somehow show to the parser that single quotation mark at the beginning of the string is not a part of the raw string [it is needed only for balancing]. For this purpose typewriter apostrophe
is used: one apostrophe absorbs one single quotation mark. In our case one apostrophe should be added at the beginning of the string:
Any balanced string (e.g.
) can be put inside another raw strings as is:
‘text = '‘‘don’t’’

Indented multi-line string literals

Like in such languages as Swift and Julia multi-line string literals in 11l can be indented to match the surrounding code.
[Note, that in Swift and Julia they work slightly differently: {}]

Just prepend string literal with
V str = |‘First line.
          Second line.’
This is equivalent to
V str = "First line.\nSecond line."