Literals/String: Difference between revisions
Content added Content deleted
(Add S-Lang) |
m (→{{header|Wren}}: Corrected typo.) |
||
Line 2,802: | Line 2,802: | ||
|} |
|} |
||
String literals also allow interpolation. If you have a percent sign (%) followed by a parenthesized expression, the expression is evaluated and can be arbitrarily complex. Consequently, if you need to include a normal % character |
String literals also allow interpolation. If you have a percent sign (%) followed by a parenthesized expression, the expression is evaluated and can be arbitrarily complex. Consequently, if you need to include a normal % character in a string literal, you have to use the escaped form \%. |
||
Wren doesn't support verbatim strings or here documents. |
Wren doesn't support verbatim strings or here documents. |