Skip to main content
Deleting values leaves holes and does not shift later values.

Arguments

str
required
The array key.
*ranges: Tuple[int, int]
required
One or more inclusive start-end pairs, passed as separate arguments.

Response

The number of values removed across the ranges. Overlapping ranges do not count a value twice.
See the server command reference for protocol details.