[swift-evolution] [Review] SE-0168: Multi-Line String Literals

Ricardo Parada rparada at mac.com
Wed Apr 12 15:37:27 CDT 2017


Yes, you are right.  I tested using the IBM Swift Sandbox <https://swift.sandbox.bluemix.net/#/repl>.

In Xcode the output is as expected with the empty line in between the two lines.


> On Apr 12, 2017, at 2:33 PM, Adrian Zubarev <adrian.zubarev at devandartist.com> wrote:
> 
> You’re wrong there, Xcode does print this for me:
> 
> Line1
> 
> Line 2
> The new line is there as expected.
> 
> 
> 
> 
> -- 
> Adrian Zubarev
> Sent with Airmail
> 
> Am 12. April 2017 um 20:30:00, Ricardo Parada (rparada at mac.com <mailto:rparada at mac.com>) schrieb:
> 
>> print("Line1\n")
>> print("Line 2")
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170412/38941504/attachment.html>


More information about the swift-evolution mailing list