subscript(_:)

iOS
15+
macOS
12+
tvOS
15+
watchOS
8+
subscript(bounds: some RangeExpression<AttributedString.Index>) -> AttributedSubstring { get }