Chapter 2
Working with Strings and Enums
Section 1
Raw String
Before Swift 5, working with strings can be difficult when the string contains quotes within the string. We had to use escape characters to inform Swift compilers to ignore certain characters within our string. However, Swift 5 fixed this issue by introducing raw strings, which means we do not have to use escape characters in string, this has made working with string a lot easier.