RosettaCodeData/Task/Literals-String/D/literals-string-4.d

5 lines
158 B
D
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
// Any character is allowed after the first quote;
// the string ends with that same character followed
// by a quote.
auto str = q"$"Hello?" he enquired.$";