removeTail!
Syntax
removeTail!(obj, n)
Arguments
obj is a vector.
n is a positive integer indicating the number of elements at the end of the vector to be removed.
Details
Delete the last n elements from a vector.
Examples
x=11..20;
x.removeTail!(3);
// output
[11,12,13,14,15,16,17]