3 ms·
Swift does have raw strings (the #"extended delimiter"# syntax).
by minitech 4y ago
Swift does have raw strings (the #"extended delimiter"# syntax).
- boxed 4y agoNo. Those ALSO have string interpolation! #"\#(expression)"# That is exactly the point.
- minitech 4y agoBut they’re a distinct string syntax. Your point seemed to be that there was only one. rf"{expression}" works in Python too, note, so either way you want to interpret it, raw strings aren’t a difference.
- boxed 4y agoNo, they aren't. You can have any number of #. Including zero. It's ONE syntax.
- deleted 4y ago[deleted]