splice

fun splice(position: UInt, numberRemovals: UInt, vararg additions: KGObject)

See also