Last active
August 10, 2017 20:10
Strings manipulation in swift (Compatible with swift 4)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let constantString = "This is a single line string" | |
//now a multiline string | |
let quotation = """ | |
The White Rabbit put on his spectacles. "Where shall I begin, | |
please your Majesty?" he asked. | |
"Begin at the beginning," the King said gravely, "and go on | |
till you come to the end; then stop." | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment