Skip to main content

ARDELRANGE

Delete occupied slots in one or more inclusive ranges.
1 min read

Deleting values leaves holes and does not shift later values.

Arguments#

keystrrequired#

The array key.

ranges*ranges: Tuple[int, int]required#

One or more inclusive start-end pairs, passed as separate arguments.

Response#

intrequired

The number of values removed across the ranges. Overlapping ranges do not count a value twice.

See the server command reference for protocol details.

Was this page helpful?