toStrikeThroughSpan

fun CharSequence.toStrikeThroughSpan(range: IntRange = IntRange(0, length)): SpannableString

Add a strike through to the text of the specified range in the text

Parameters

range

The range of text to add strike through to