Multiline Strings

Florian Bösch pyalot at gmail.com
Thu Mar 6 23:21:16 PST 2014


I'm sorry if that's been asked before (I looked trough the archives trough
to 2012 and couldn't find a thread on it).

Are there any plans on adding multiline strings?

Some examples of multiline strings below.

Lua:
foo = [[A
Multiline
String]]

Python:
foo = '''A
Multiline
String'''

Coffeescript:
foo = '''A
Multiline
String'''

Dart:
foo = ''''A
Multiline
String'''

C++11:
foo = R"bar(A
Multiline
String)bar";

Ruby:
foo = 'A
Multiline
String'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140307/ea013d20/attachment.html>


More information about the es-discuss mailing list