removeSubrange(_:)
Removes a range of characters from the attributed string.
Declaration
mutating func removeSubrange(_ range: some RangeExpression<AttributedString.Index>)Parameters
- range:
The range to remove.
Removes a range of characters from the attributed string.
mutating func removeSubrange(_ range: some RangeExpression<AttributedString.Index>)The range to remove.