replaceRange
Returns a char sequence with content of this char sequence where its part at the given range is replaced with the replacement char sequence.
Since Kotlin
1.1Parameters
the index of the first character to be replaced.
the index of the first character after the replacement to keep in the string.
Replaces the part of the string at the given range with the replacement char sequence.
Since Kotlin
1.1Parameters
the index of the first character to be replaced.
the index of the first character after the replacement to keep in the string.
Returns a char sequence with content of this char sequence where its part at the given range is replaced with the replacement char sequence.
The end index of the range is included in the part to be replaced.
Since Kotlin
1.1Replace the part of string at the given range with the replacement string.
The end index of the range is included in the part to be replaced.
Since Kotlin
1.1Returns a char sequence with content of this char sequence where its part at the given range is replaced with the replacement char sequence.
Since Kotlin
1.0Parameters
the index of the first character to be replaced.
the index of the first character after the replacement to keep in the string.
Replaces the part of the string at the given range with the replacement char sequence.
Since Kotlin
1.0Parameters
the index of the first character to be replaced.
the index of the first character after the replacement to keep in the string.
Returns a char sequence with content of this char sequence where its part at the given range is replaced with the replacement char sequence.
The end index of the range is included in the part to be replaced.
Since Kotlin
1.0Replace the part of string at the given range with the replacement string.
The end index of the range is included in the part to be replaced.