Instance Property

endIndex

The “past the end” position—that is, the position one greater than the last valid subscript argument.

Declaration

var endIndex: String.UTF8View.Index { get }

Discussion

In an empty UTF-8 view, endIndex is equal to startIndex.

Relationships