| 1 |
func test(): |
| 2 |
var __ = """ |
| 3 |
This is a standalone string, not a multiline comment. |
| 4 |
Writing both "double" quotes and 'simple' quotes is fine as |
| 5 |
long as there is only ""one"" or ''two'' of those in a row, not more. |
| 6 |
|
| 7 |
If you have more quotes, they need to be escaped like this: \"\"\" |
| 8 |
""" |
| 9 |
__ = ''' |
| 10 |
Another standalone string, this time with single quotes. |
| 11 |
Writing both "double" quotes and 'simple' quotes is fine as |
| 12 |
long as there is only ""one"" or ''two'' of those in a row, not more. |
| 13 |
|
| 14 |
If you have more quotes, they need to be escaped like this: \'\'\' |
| 15 |
''' |