appendRange
Appends characters in a subarray of the specified character array value to this string builder and returns this instance.
Characters are appended in order, starting at specified startIndex.
Since Kotlin
1.4Parameters
the array from which characters are appended.
the beginning (inclusive) of the subarray to append.
the end (exclusive) of the subarray to append.
Throws
or IllegalArgumentException when startIndex or endIndex is out of range of the value array indices or when startIndex > endIndex
.
Appends a subsequence of the specified character sequence value to this string builder and returns this instance.
Since Kotlin
1.4Parameters
the character sequence from which a subsequence is appended.
the beginning (inclusive) of the subsequence to append.
the end (exclusive) of the subsequence to append.
Throws
or IllegalArgumentException when startIndex or endIndex is out of range of the value character sequence indices or when startIndex > endIndex
.
Appends characters in a subarray of the specified character array value to this string builder and returns this instance.
Characters are appended in order, starting at specified startIndex.
Since Kotlin
1.4Parameters
the array from which characters are appended.
the beginning (inclusive) of the subarray to append.
the end (exclusive) of the subarray to append.
Throws
or IllegalArgumentException when startIndex or endIndex is out of range of the value array indices or when startIndex > endIndex
.
Appends a subsequence of the specified character sequence value to this string builder and returns this instance.
Since Kotlin
1.4Parameters
the character sequence from which a subsequence is appended.
the beginning (inclusive) of the subsequence to append.
the end (exclusive) of the subsequence to append.
Throws
or IllegalArgumentException when startIndex or endIndex is out of range of the value character sequence indices or when startIndex > endIndex
.