Answers for "string concatenation in swift"

1

swift string concatenation

let age = 28
let name = "John"
let isAlcoholic = true

var description = "\(name) is \(age) years old and \(isAlcoholic ? "is" : "isn't") alcoholic"
Posted by: Guest on February-22-2021

Code answers related to "Swift"

Browse Popular Code Answers by Language