<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=""><div class="">Something like this might work</div><div class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 132, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">//string ends on the first line that doesnt start with a "</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="color: rgb(0, 0, 0); font-variant-ligatures: no-common-ligatures;" class="">foo( </span><font color="#b51a00" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">@</span><span style="font-variant-ligatures: no-common-ligatures;" class="">"<?xml version="</span><span style="font-variant-ligatures: no-common-ligatures;" class="">1.0</span><span style="font-variant-ligatures: no-common-ligatures;" class="">"?></span></font></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#b51a00" class=""> "<catalog></font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><font color="#b51a00" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""> </span><span style="font-variant-ligatures: no-common-ligatures" class="">" <book id="</span><span style="font-variant-ligatures: no-common-ligatures;" class="">bk101</span><span style="font-variant-ligatures: no-common-ligatures" class="">" empty="</span><span style="font-variant-ligatures: no-common-ligatures;" class="">"></span></font></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#b51a00" class=""> " <author>\(author)</author></font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#b51a00" class=""> " <title>XML Developer's Guide</title></font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#b51a00" class=""> " <genre>Computer</genre></font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#b51a00" class=""> " <price>44.95</price></font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#b51a00" class=""> " <publish_date>2000-10-01</publish_date></font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#b51a00" class=""> " <description>An in-depth look at creating applications with XML.</description></font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#b51a00" class=""> " </book></font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#b51a00" class=""> "</catalog>\n</font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> )</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; line-height: normal; color: rgb(0, 132, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">//additionally using a +" could be used to indicate a line break</span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><div style="margin: 0px; line-height: normal;" class=""><span style="color: rgb(0, 0, 0); font-variant-ligatures: no-common-ligatures;" class="">foo( </span><font color="#b51a00" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">@</span><span style="font-variant-ligatures: no-common-ligatures;" class="">"<?xml version="</span><span style="font-variant-ligatures: no-common-ligatures;" class="">1.0</span><span style="font-variant-ligatures: no-common-ligatures;" class="">"?></span></font></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font color="#b51a00" class=""> +"<catalog></font></span></div><div style="margin: 0px; line-height: normal;" class=""><font color="#b51a00" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""> +</span><span style="font-variant-ligatures: no-common-ligatures;" class="">" <book id="</span><span style="font-variant-ligatures: no-common-ligatures;" class="">bk101</span><span style="font-variant-ligatures: no-common-ligatures;" class="">" empty="</span><span style="font-variant-ligatures: no-common-ligatures;" class="">"></span></font></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font color="#b51a00" class=""> +" <author>\(author)</author></font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font color="#b51a00" class=""> +" <title>XML Developer's Guide</title></font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font color="#b51a00" class=""> +" <genre>Computer</genre></font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font color="#b51a00" class=""> +" <price>44.95</price></font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font color="#b51a00" class=""> +" <publish_date>2000-10-01</publish_date></font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font color="#b51a00" class=""> +" <description>An in-depth look at creating applications with XML.</description></font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font color="#b51a00" class=""> +" </book></font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font color="#b51a00" class=""> +"</catalog>\n</font></span></div><div style="color: rgb(0, 0, 0); margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""> )</span></div><div style="color: rgb(0, 0, 0); margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><br class=""></span></div></span></div></span></div><div><blockquote type="cite" class=""><div class="">On May 11, 2016, at 9:48 PM, Ricardo Parada via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class=""><br class="">On May 11, 2016, at 2:34 PM, Vladimir.S <<a href="mailto:svabox@gmail.com" class="">svabox@gmail.com</a>> wrote:<br class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">For example:<br class=""><br class=""><br class="">letsourceCode =@“NSString *firstName = @“John”;<br class=""> "NSString *lastName = @“Doe”;<br class=""> “NSString *fullName = [NSString stringWithFormat: @“%@<br class="">%@“, firstName, lastName];"@<br class=""><br class="">The one that would be a bit of a problem is the closing delimiter,<br class=""></blockquote><br class="">Yes.. this is why I asked about `"@` - closing delimiter<br class="">so.. what is the solution in your case ?<br class=""></blockquote><br class="">Hi Vladimir,<br class=""><br class="">I don't really have a solution. Perhaps escaping the closing delimiter like this \"@<br class=""><br class="">It is not pretty but I can't think of anything else. I imagine the other alternatives, i.e. the triple quote `"""` and the quote plus underscore `"_ ` have the same problem. <br class=""><br class="">If we make the continuation quote required then we don't need a closing delimiter. That would solve the problem. But I've seen several people say they don't like the continuation quote because they want to be able to paste text and not have to worry much about formatting it afterwards. <br class="">_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></div></blockquote></div><br class=""></body></html>