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