kotlin.CharSequence.subSequence

subSequence

abstract fun subSequence(
    startIndex: Int, 
    endIndex: Int
): CharSequence

Returns a new character sequence that is a subsequence of this character sequence, starting at the specified startIndex and ending right before the specified endIndex.

Parameters

startIndex - the start index (inclusive).

endIndex - the end index (exclusive).登录查看完整内容