colorSpan

fun TextView.colorSpan(str: String, range: IntRange, color: Int = Color.RED)