add onto strings swift code example
Example 1: swift append to start of string
var str1 = str2 + str1
var str1 = "\(3)" + str1
Example 2: declare empty string in swift
// Create a literal empty string
var emptyString = ""
// Create an optional string
var emptyVariable: String? // This allows this variable to have a null value, or nil in swift