RE: backslashes and r-strings r"abc"
"Mark Hahn" <[email protected]> Mon, 26 Jul 2004 21:18:55 -0700
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <000001c47390$d4d7e4e0$0d01a8c0@MarkVaio> |
Greg Ewing wrote: > Martin Christensen <[email protected]>: > >> As I see it, the best alternative to the usual way of >> handling escape >> characters is for Strings to have a 'process escape >> characters' method > > Another way would be to have a set of constants like > tab, newline, etc. and build up strings with these: > > "hello" + tab + "world" + newline No one really wants this, do they? I'm assuming everyone wants backslash esc chars until I hear otherwise.