remove Range
fun CharSequence.removeRange(startIndex: Int, endIndex: Int): CharSequence
Content copied to clipboard
Returns a char sequence with content of this char sequence where its part at the given range is removed.
Parameters
start Index
the index of the first character to be removed.
end Index
the index of the first character after the removed part to keep in the string.
endIndex is not included in the removed part.
Removes the part of a string at a given range.
Parameters
start Index
the index of the first character to be removed.
end Index
the index of the first character after the removed part to keep in the string.
endIndex is not included in the removed part.