delete-rectangle

delete-rectangle is an interactive autoloaded compiled Lisp function in `rect.el'.

It is bound to C-x r d.

(delete-rectangle START END &optional FILL)

Delete (don't save) text in the region-rectangle.
The same range of columns is deleted in each line starting with the
line where the region begins and ending with the line where the region
ends.

When called from a program the rectangle's corners are START and END.
With a prefix (or a FILL) argument, also fill lines where nothing has
to be deleted.