> On Jul 17, 2017, at 4:43 AM, David Hart via swift-evolution 
> <[email protected]> wrote:
> 
> To add a data point, I migrated the Swift Package Manager to use Swift 4’s 
> multi-line strings this weekend. Nearly all of the resulting multi-line 
> strings required an ending new-line, forcing me to write the following 
> pattern everywhere:
> 
> let text = ""”
>     lorem ipsum dolor sit amet
>     consectetur adipiscing elit
>     sed do eiusmod
> 
>     “”"

Can’t you use ... eiusmod\n instead of a blank line?

-Chris


_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to