insert
Inserts the string representation of the specified boolean value into this string builder at the specified index and returns this instance.
The overall effect is exactly as if the value were converted to a string by the value.toString()
method, and then that string was inserted into this string builder at the specified index.
Since Kotlin
1.4Throws
if index is less than zero or greater than the length of this string builder.
Inserts the specified character value into this string builder at the specified index and returns this instance.
Since Kotlin
1.4Throws
if index is less than zero or greater than the length of this string builder.
Inserts characters in 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 character array, starting at index.
Since Kotlin
1.4Throws
if index is less than zero or greater than the length of this string builder.
Inserts characters in 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 characters are inserted. If value is null
, then the four characters "null"
are inserted.
Throws
if index is less than zero or greater than the length of this string builder.
Inserts the string representation of the specified object value into this string builder at the specified index and returns this instance.
The overall effect is exactly as if the value were converted to a string by the value.toString()
method, and then that string was inserted into this string builder at the specified index.
Since Kotlin
1.4Throws
if index is less than zero or greater than the length of this string builder.
Inserts the string value into this string builder at the specified index and returns this instance.
If value is null
, then the four characters "null"
are inserted.
Since Kotlin
1.4Throws
if index is less than zero or greater than the length of this string builder.
Inserts the string representation of the specified boolean value into this string builder at the specified index and returns this instance.
The overall effect is exactly as if the value were converted to a string by the value.toString()
method, and then that string was inserted into this string builder at the specified index.
Since Kotlin
1.4Throws
if index is less than zero or greater than the length of this string builder.
Inserts the specified character value into this string builder at the specified index and returns this instance.
Since Kotlin
1.4Throws
if index is less than zero or greater than the length of this string builder.
Inserts characters in 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 character array, starting at index.
Since Kotlin
1.4Throws
if index is less than zero or greater than the length of this string builder.
Inserts characters in 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 characters are inserted. If value is null
, then the four characters "null"
are inserted.
Throws
if index is less than zero or greater than the length of this string builder.
Inserts the string representation of the specified object value into this string builder at the specified index and returns this instance.
The overall effect is exactly as if the value were converted to a string by the value.toString()
method, and then that string was inserted into this string builder at the specified index.
Since Kotlin
1.4Throws
if index is less than zero or greater than the length of this string builder.
Inserts the string value into this string builder at the specified index and returns this instance.
If value is null
, then the four characters "null"
are inserted.
Since Kotlin
1.4Throws
if index is less than zero or greater than the length of this string builder.
Since Kotlin
1.3Inserts the string representation of the specified boolean value into this string builder at the specified index and returns this instance.
The overall effect is exactly as if the value were converted to a string by the value.toString()
method, and then that string was inserted into this string builder at the specified index.
Since Kotlin
1.3Throws
if index is less than zero or greater than the length of this string builder.
Inserts the specified character value into this string builder at the specified index and returns this instance.
Since Kotlin
1.3Throws
if index is less than zero or greater than the length of this string builder.
Inserts characters in 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 character array, starting at index.
Since Kotlin
1.3Throws
if index is less than zero or greater than the length of this string builder.
Inserts characters in 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.3Parameters
the position in this string builder to insert at.
the character sequence from which characters are inserted. If value is null
, then the four characters "null"
are inserted.
Throws
if index is less than zero or greater than the length of this string builder.
Inserts the string representation of the specified object value into this string builder at the specified index and returns this instance.
The overall effect is exactly as if the value were converted to a string by the value.toString()
method, and then that string was inserted into this string builder at the specified index.
Since Kotlin
1.3Throws
if index is less than zero or greater than the length of this string builder.
Inserts the string value into this string builder at the specified index and returns this instance.
If value is null
, then the four characters "null"
are inserted.
Since Kotlin
1.3Throws
if index is less than zero or greater than the length of this string builder.