subscript(_:)
Returns a discontiguous substring of this discontiguous attributed string using a range to indicate the discontiguous substring bounds.
Declaration
subscript(bounds: some RangeExpression<AttributedString.Index>) -> DiscontiguousAttributedSubstring { get }Parameters
- bounds:
A range that indicates the bounds of the discontiguous substring to return.