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.
The string’s past-the-end position — the position one greater than the last valid subscript argument.
var endIndex: AttributedString.Index { get }In an empty string, endIndex is equal to startIndex.