let char in swift code example
Example: 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