subscript(_:)

Returns a substring of the attributed substring that a range indicates.

Declaration

subscript(bounds: some RangeExpression<AttributedString.Index>) -> AttributedSubstring { get }