delete

fun delete(start: Int, end: Int)

Deletes the characters in [start, end).

Parameters

start

the offset of the first character deleted.

end

the offset just past the last deleted character; equal to start it deletes nothing.

See also