Email list hosting service & mailing list manager

inlined "here" strings Ray Blaak (11 Jul 2005 16:26 UTC)
Re: inlined "here" strings Matthew Flatt (12 Jul 2005 13:11 UTC)
Re: inlined "here" strings Ray Blaak (13 Jul 2005 06:43 UTC)
Re: inlined "here" strings bburger@xxxxxx (13 Jul 2005 14:50 UTC)
Re: inlined "here" strings Michael Sperber (14 Jul 2005 07:13 UTC)
Re: inlined "here" strings Ray Blaak (14 Jul 2005 15:41 UTC)

Re: inlined "here" strings Ray Blaak 14 Jul 2005 15:41 UTC

Michael Sperber wrote:

>xxxxxx@beckman.com writes: [about C#'s @"..." notation]
>
>But that still means " can't appear in the string, right?  That would
>mean your suggestion solves a different problem than here strings,
>which are for encoding strings that *do* contain ".
>
>
There are ways around that. If you limit yourself to single char
terminators, then you can do things like having the first char be the
quote char, e.g.

 #@"no quotes here"
 #@!no bangs here!

This becomes multiline if you include newlines:

#@"a 2 line
string"