A
Albert Schlef
Raul said:I was asking for a rationale.
This feature lets you mix several quoting styles when entering a string:
s = '"' "ab'cd" '"'
or...
s = 'some\tthing' "\n"
BTW, you don't need to put a space between the literals!
Robert said:Apart from that, I believe it is quite common in programming
languages to allow concatenation of string literals
I know that Python supports this syntax. The Unix shell too support this
(when you don't separate the tokens with a space; it's a feature I use
often).
But, Robert, what other languages support this?