view delete firstIndex ?lastIndex?
Removes rows from the view view. The values of firstIndex and lastIndex are integers or the string end. If lastIndex is not supplied by the caller, it will be assumed to have the same value as firstIndex. All rows from the row numbered firstIndex up to and including the row numbered lastIndex are removed from view.
If the view view has N rows, then the valid values for the index arguments are 0 <= index <= N. The value end is taken to mean the value N. Note that there is in fact no row N in a view of size N, so the command [view delete end end] is a null operation.
If either firstIndex or lastIndex is a not a valid value, an error is raised.