2021-01-03 08:09:45 +03:00
|
|
|
let normalString = "Basic double-quote string."
|
|
|
|
let singleString = 'Basic single-quote string.'
|
|
|
|
|
|
|
|
let longString = """This is a
|
|
|
|
long string that spans
|
|
|
|
multiple lines"""
|
|
|
|
|
|
|
|
let stringWithLineBreak = "This is a normal string \
|
2021-01-04 17:33:43 +03:00
|
|
|
with a line break in it!"
|
2021-01-03 08:09:45 +03:00
|
|
|
|
2021-01-04 17:33:43 +03:00
|
|
|
print(normalString)
|
|
|
|
print(singleString)
|
|
|
|
print(longString)
|
|
|
|
print(stringWithLineBreak)
|