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

5 lines
158 B
D

// 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.$";