<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Adrian,<div class=""><br class=""></div><div class="">I'm not sure if I am understanding what you are saying.</div><div class=""><br class=""></div><div class="">To me a multi-line string literal is not about continuing a "very long string" into the next line. &nbsp;</div><div class=""><br class=""></div><div class="">To me a multi-line string literal is about having a string literal that represents <b class="">multiple lines of text</b>, where each line is separated by a new line character. &nbsp;It's just like when you look at a text file in the editor and you don't see the \n at the end of each line. &nbsp;You just see multiple lines of text. &nbsp;Same philosophy applies here, but with some useful features such as being able to use escape \, interpolation and quotes mainly.</div><div class=""><br class=""></div><div class="">The continuation character serves as a visual guide of the beginning of each line and to help you align/indent the multiple lines of text.</div><div class=""><br class=""></div><div class="">I was proposing that the multi-line string literal automatically ends when there is no continuation character on the next line. &nbsp;But it could also use the same one that was used to start it, either """ or "M.</div><div class=""><br class=""></div><div class="">I am sure we'll find a hole in every proposed solution, but I think the one that takes care of 99% of the cases should be the one.</div><div class=""><br class=""></div><div class="">Regards</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On Apr 3, 2017, at 10:44 AM, Adrian Zubarev &lt;<a href="mailto:adrian.zubarev@devandartist.com" class="">adrian.zubarev@devandartist.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="bloop_markdown" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(254, 254, 254);"><p style="margin: 15px 0px; -webkit-margin-before: 0px;" class="">IMHO this is what multi-lined strings are meant for in first place, for better code readability without precision tradeoffs. You’re not expecting multi-lined chained methods to do something else as they’re meant for. We’re allowing multi lines there for readability not for more functionality.</p><p style="margin: 15px 0px;" class="">That’s why I disagree that multi-line strings should add new lines automatically to the string.</p><div style="margin: 15px 0px;" class=""><br class="webkit-block-placeholder"></div></div><div class="bloop_original_html" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(254, 254, 254);"><div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;" class=""><br class=""></div><br class=""><div id="bloop_sign_1491230465800198144" class="bloop_sign"><div style="font-family: helvetica, arial; font-size: 13px;" class="">--&nbsp;<br class="">Adrian Zubarev<br class="">Sent with Airmail</div></div><br class=""><p class="airmail_on" style="margin: 15px 0px;">Am 3. April 2017 um 16:33:05, Ricardo Parada (<a href="mailto:rparada@mac.com" style="color: rgb(65, 131, 196); background-color: inherit; text-decoration: none;" class="">rparada@mac.com</a>) schrieb:</p><blockquote type="cite" class="clean_bq" style="margin: 15px 0px;"><span style="margin-top: 0px; margin-bottom: 0px;" class=""><div class=""><div class="" style="font-family: helvetica; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">let veryLongString2 = "word word word" +</div><div class="" style="font-family: helvetica; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">"word word word" +</div><div class="" style="font-family: helvetica; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">&nbsp; "word word word"</div><br class="Apple-interchange-newline"></div></span></blockquote></div><div class="bloop_markdown" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(254, 254, 254);"><br class="Apple-interchange-newline"></div></div></blockquote></div><br class=""></div></body></html>