kotlin.text.substring

substring

fun String.substring(range: IntRange): String

Returns a substring specified by the given range of indices.

inline fun CharSequence.substring(
    startIndex: Int, 
    endIndex: Int = length
): String

Returns a substring of chars from a range of this char sequence starting at the startIndex and ending right before the 登录查看完整内容