Swift Functional Programming(Second Edition)
上QQ阅读APP看书,第一时间看更新

String literals

String literals can be used to create an instance of String. In the following code example, we define and initialize aVegetable with the String literal:

let aVegetable = "Arugula"