subSequence

open override fun subSequence(startIndex: Int, endIndex: Int): CharSequence(source)

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.

Since Kotlin

1.0

Parameters

startIndex

the start index (inclusive).

endIndex

the end index (exclusive).

open override fun subSequence(startIndex: Int, endIndex: Int): CharSequence(source)

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.

Since Kotlin

1.1

Parameters

startIndex

the start index (inclusive).

endIndex

the end index (exclusive).

open external override fun subSequence(startIndex: Int, endIndex: Int): CharSequence(source)

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.

Since Kotlin

1.3

Parameters

startIndex

the start index (inclusive).

endIndex

the end index (exclusive).

open override fun subSequence(startIndex: Int, endIndex: Int): CharSequence(source)

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.

Since Kotlin

1.8

Parameters

startIndex

the start index (inclusive).

endIndex

the end index (exclusive).

open override fun subSequence(startIndex: Int, endIndex: Int): CharSequence(source)

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.

Since Kotlin

1.8

Parameters

startIndex

the start index (inclusive).

endIndex

the end index (exclusive).