erase

Command: erase


Synopsis
(string1) a n erase -> (string2)
[array1] a n erase -> [array2]
File
sli/slidata.cc
Parameters

a - index of the first element to be removed starting with 0.
n - number of element to be removed.
Description

Erases n elements from the container starting with element a.
Examples

SLI ] [1 2 3 4 5 6] 5 1 erase ==
[1 2 3 4 5]

SeeAlso