On Thursday, 31 March 2016 at 03:15:49 UTC, cy wrote: > This might be a dumb question. How do I format a string so that > all the newlines print as \n and all the tabs as \t and such? http://dlang.org/spec/lex.html#WysiwygString r"ab\n" or `ab\n`