|
|
|
|
|
by boxed
502 days ago
|
|
The escape character is \. Same as in Python. But in Python you have to watch out for \ AND {. In Swift, only \. And you can do this: ####"foo ###\(this is not interpolation) ####\(but this is) bar"#### In Pythons f-strings you can't ever write the literal `{foo}` in a string for documentation for example. It's a mess. |
|