delete-slice ( from to seq -- )
Factor handbook » The language » Collections » Sequence operations » Destructive sequence operations

Prev:remove-nth! ( n seq -- seq )
Next:delete-all ( seq -- )


Vocabulary
sequences

Inputs
froma non-negative integer
toa non-negative integer
seqa resizable mutable sequence


Outputs
None

Word description
Removes a range of elements beginning at index from and ending before index to.

Side effects
Modifies seq

Definition