Question : swift string concatenation
Answered by : zealous-zebra-5bhcdrd3haet
let age = 28
let name = "John"
let isAlcoholic = true
var description = "\(name) is \(age) years old and \(isAlcoholic ? "is" : "isn't") alcoholic"
Source : | Last Update : Mon, 01 Mar 21