Created
September 18, 2020 16:48
-
-
Save tkausch/8113f019363602c2f2531c2710f88a4e to your computer and use it in GitHub Desktop.
How to concatenate strings to make one joined string
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 hello = "Hello" | |
let thomas = "Thomas" | |
let hellothomas = [hello, thomas] | |
let combined = hello + thomas | |
let combined2 = "\(hello)\(thomas)" | |
let combined3 = hellothomas.joined() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment