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

Strings and characters

In Swift, String is an ordered collection of characters. String is a structure and not a class. Structures are value types in Swift; therefore, any String is a value type and passed by values, not by references.