5.2.4.1.8 Deleting a Name Component

The delete_component operation removes and returns the i th component.

LNameComponent delete_component(in unsigned long i)
     raises(NoComponent);

If the component does not exist, the NoComponent exception is raised.

After a delete_component operation has been performed, the compound name has one fewer component and components previously identified as i+1...n are now identified as i...n-1.