removeHead!

Syntax

removeHead!(obj, n)

Arguments

obj is a vector.

n is a positive integer indicating the number of elements at the beginning of the vector to be removed.

Details

Delete the first n elements from a vector.

Examples

x=11..20;
x.removeHead!(3);
// output
[14,15,16,17,18,19,20]