3 ms·
""" can't behave like this, because it won't be able to include """ itself in the string. The """# case is handled by using more #s: ##""" in string """#
by dbaupp 8y ago
""" can't behave like this, because it won't be able to include """ itself in the string. The """# case is handled by using more #s:
##"""
in string """# still in string
"""## // out of string
Swift has two types of string "..." and """...""", either of which can have zero-or-more # at the start and end.