Tag Archives: carriage

Special characters that can be included in a Swift String ?

By | December 27, 2017

Special characters can be included in string literals using the following escape sequences: The following example shows how to use a few string literals: Swift 4 Escape sequence Meaning \0 Null Character \\ \character \b Backspace \f Form feed \n Newline \r Carriage return \t Horizontal tab \v Vertical tab \’ Single Quote \” Doubleā€¦ Read More »