Discussion 解説
In an empty string, end
is equal to start
.
文字列が空ならば、end
はstart
と等しいです。
Availability
Technology
var startIndex : String.Index
func index(after: String.Index) -> String.Index
func formIndex (after: inout Index)
func index(before: String.Index) -> String.Index
func formIndex (before: inout Index)
func index(String.Index, offsetBy : String.IndexDistance) -> String.Index
func index(String.Index, offsetBy : String.IndexDistance, limitedBy : String.Index) -> String.Index?
func formIndex (inout Index, offsetBy : Int)
func formIndex (inout Index, offsetBy : Int, limitedBy : Index) -> Bool
func distance(from: String.Index, to: String.Index) -> String.IndexDistance
var indices: DefaultIndices<String>