最終更新:2017-05-29 (月) 02:39:55 (2517d)
Swift/String
https://developer.apple.com/reference/swift/string
Nested Types
String.Encoding? String.CharacterView? A view of a string’s contents as a collection of characters. String.UnicodeScalarView? A view of a string’s contents as a collection of Unicode scalar values. String.UTF8View? A view of a string’s contents as a collection of UTF-8 code units. String.UTF16View? A view of a string’s contents as a collection of UTF-16 code units.
プロパティ
メソッド
func substring(from: String.Index) func substring(to: String.Index) func substring(with: Range<String.Index>)
関連
- Swift/Character?