var startIndex : AttributedString.Index
The position of the first character in a nonempty attributed substring.
var endIndex : AttributedString.Index
A substring’s past-the-end position — the position one greater than the last valid subscript argument.