spans

infix fun String.spans(range: IntRange): Boolean

Check if this String has length in range