insertRange
Inserts characters in a subarray of the specified character array value into this string builder at the specified index and returns this instance.
The inserted characters go in same order as in the value array, starting at index.
Since Kotlin
1.4Parameters
the position in this string builder to insert at.
the array from which characters are inserted.
the beginning (inclusive) of the subarray to insert.
the end (exclusive) of the subarray to insert.
Throws
if index is less than zero or greater than the length of this string builder.
Inserts characters in a subsequence of the specified character sequence value into this string builder at the specified index and returns this instance.
The inserted characters go in the same order as in the value character sequence, starting at index.
Since Kotlin
1.4Parameters
the position in this string builder to insert at.
the character sequence from which a subsequence is inserted.
the beginning (inclusive) of the subsequence to insert.
the end (exclusive) of the subsequence to insert.
Throws
if index is less than zero or greater than the length of this string builder.
Inserts characters in a subarray of the specified character array value into this string builder at the specified index and returns this instance.
The inserted characters go in same order as in the value array, starting at index.
Since Kotlin
1.4Parameters
the position in this string builder to insert at.
the array from which characters are inserted.
the beginning (inclusive) of the subarray to insert.
the end (exclusive) of the subarray to insert.
Throws
if index is less than zero or greater than the length of this string builder.
Inserts characters in a subsequence of the specified character sequence value into this string builder at the specified index and returns this instance.
The inserted characters go in the same order as in the value character sequence, starting at index.
Since Kotlin
1.4Parameters
the position in this string builder to insert at.
the character sequence from which a subsequence is inserted.
the beginning (inclusive) of the subsequence to insert.
the end (exclusive) of the subsequence to insert.
Throws
if index is less than zero or greater than the length of this string builder.
Inserts characters in a subarray of the specified character array value into this string builder at the specified index and returns this instance.
The inserted characters go in same order as in the value array, starting at index.
Since Kotlin
1.4Parameters
the position in this string builder to insert at.
the array from which characters are inserted.
the beginning (inclusive) of the subarray to insert.
the end (exclusive) of the subarray to insert.
Throws
if index is less than zero or greater than the length of this string builder.
Inserts characters in a subsequence of the specified character sequence value into this string builder at the specified index and returns this instance.
The inserted characters go in the same order as in the value character sequence, starting at index.
Since Kotlin
1.4Parameters
the position in this string builder to insert at.
the character sequence from which a subsequence is inserted.
the beginning (inclusive) of the subsequence to insert.
the end (exclusive) of the subsequence to insert.
Throws
if index is less than zero or greater than the length of this string builder.
Inserts characters in a subarray of the specified character array value into this string builder at the specified index and returns this instance.
The inserted characters go in same order as in the value array, starting at index.
Since Kotlin
1.4Parameters
the position in this string builder to insert at.
the array from which characters are inserted.
the beginning (inclusive) of the subarray to insert.
the end (exclusive) of the subarray to insert.
Throws
if index is less than zero or greater than the length of this string builder.
Inserts characters in a subsequence of the specified character sequence value into this string builder at the specified index and returns this instance.
The inserted characters go in the same order as in the value character sequence, starting at index.
Since Kotlin
1.4Parameters
the position in this string builder to insert at.
the character sequence from which a subsequence is inserted.
the beginning (inclusive) of the subsequence to insert.
the end (exclusive) of the subsequence to insert.
Throws
if index is less than zero or greater than the length of this string builder.
Inserts characters in a subarray of the specified character array value into this string builder at the specified index and returns this instance.
The inserted characters go in same order as in the value array, starting at index.
Since Kotlin
1.8Parameters
the position in this string builder to insert at.
the array from which characters are inserted.
the beginning (inclusive) of the subarray to insert.
the end (exclusive) of the subarray to insert.
Throws
if index is less than zero or greater than the length of this string builder.
Inserts characters in a subsequence of the specified character sequence value into this string builder at the specified index and returns this instance.
The inserted characters go in the same order as in the value character sequence, starting at index.
Since Kotlin
1.8Parameters
the position in this string builder to insert at.
the character sequence from which a subsequence is inserted.
the beginning (inclusive) of the subsequence to insert.
the end (exclusive) of the subsequence to insert.
Throws
if index is less than zero or greater than the length of this string builder.
Inserts characters in a subarray of the specified character array value into this string builder at the specified index and returns this instance.
The inserted characters go in same order as in the value array, starting at index.
Since Kotlin
1.8Parameters
the position in this string builder to insert at.
the array from which characters are inserted.
the beginning (inclusive) of the subarray to insert.
the end (exclusive) of the subarray to insert.
Throws
if index is less than zero or greater than the length of this string builder.
Inserts characters in a subsequence of the specified character sequence value into this string builder at the specified index and returns this instance.
The inserted characters go in the same order as in the value character sequence, starting at index.
Since Kotlin
1.8Parameters
the position in this string builder to insert at.
the character sequence from which a subsequence is inserted.
the beginning (inclusive) of the subsequence to insert.
the end (exclusive) of the subsequence to insert.
Throws
if index is less than zero or greater than the length of this string builder.