Contents

endIndex

The string’s past-the-end position — the position one greater than the last valid subscript argument.

Declaration

var endIndex: AttributedString.Index { get }

Discussion

In an empty string, endIndex is equal to startIndex.