how to declare a string in swift code example Example: print string sqift var str1 = "Hello, world" print(str1)