Removes the element at the specified position in the specified vector.
Parameters:
v
The vector object.Note: The
null
value passed in this parameter will cause an error.
index
the index of the element to be removed.The function does nothing if the specified index is < 0 or >= the vector size.
Returns:
The removed element or null
when nothing has been removed.
See Also:
addElement(), moveElement()
Tip:
This function may be called in a more method-like style:
v.removeElement(0)