substring
Returns a new String that contains characters in this string builder at startIndex (inclusive) and up to the length (exclusive).
Since Kotlin
1.4Throws
if startIndex is less than zero or greater than the length of this string builder.
Returns a new String that contains characters in this string builder at startIndex (inclusive) and up to the endIndex (exclusive).
Since Kotlin
1.4Throws
or IllegalArgumentException when startIndex or endIndex is out of range of this string builder indices or when startIndex > endIndex
.
Returns a new String that contains characters in this string builder at startIndex (inclusive) and up to the length (exclusive).
Since Kotlin
1.4Throws
if startIndex is less than zero or greater than the length of this string builder.
Returns a new String that contains characters in this string builder at startIndex (inclusive) and up to the endIndex (exclusive).
Since Kotlin
1.4Throws
or IllegalArgumentException when startIndex or endIndex is out of range of this string builder indices or when startIndex > endIndex
.
Returns a new String that contains characters in this string builder at startIndex (inclusive) and up to the length (exclusive).
Since Kotlin
1.4Throws
if startIndex is less than zero or greater than the length of this string builder.
Returns a new String that contains characters in this string builder at startIndex (inclusive) and up to the endIndex (exclusive).
Since Kotlin
1.3Throws
or IllegalArgumentException when startIndex or endIndex is out of range of this string builder indices or when startIndex > endIndex
.
Returns a new String that contains characters in this string builder at startIndex (inclusive) and up to the length (exclusive).
Since Kotlin
1.8Throws
if startIndex is less than zero or greater than the length of this string builder.
Returns a new String that contains characters in this string builder at startIndex (inclusive) and up to the endIndex (exclusive).
Since Kotlin
1.8Throws
or IllegalArgumentException when startIndex or endIndex is out of range of this string builder indices or when startIndex > endIndex
.
Returns a new String that contains characters in this string builder at startIndex (inclusive) and up to the length (exclusive).
Since Kotlin
1.8Throws
if startIndex is less than zero or greater than the length of this string builder.
Returns a new String that contains characters in this string builder at startIndex (inclusive) and up to the endIndex (exclusive).
Since Kotlin
1.8Throws
or IllegalArgumentException when startIndex or endIndex is out of range of this string builder indices or when startIndex > endIndex
.