display value in swift with a string value code example Example: print string sqift var str1 = "Hello, world" print(str1)