subSequence

open override fun subSequence(startIndex: Int, endIndex: Int): AnnotatedString

Return a substring for the AnnotatedString and include the styles in the range of startIndex (inclusive) and endIndex (exclusive).

Parameters

startIndex

the inclusive start offset of the range

endIndex

the exclusive end offset of the range