Literals/String: Difference between revisions

Content added Content deleted
(Added EasyLang implementation)
(Add Plain English)
Line 2,162: Line 2,162:
'101100'b /* a bit string, stored as one bit per digit. */
'101100'b /* a bit string, stored as one bit per digit. */
</syntaxhighlight>
</syntaxhighlight>

=={{header|Plain English}}==
A string literal is surrounded by double quotes. Plain English does not make a distinction between string and character literals.

To escape a double quote inside a string literal, use two double quotes.
<syntaxhighlight lang="text">"a ""string"" literal"</syntaxhighlight>


=={{header|plainTeX}}==
=={{header|plainTeX}}==