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