ARDELRANGE

Since 1.1.0Arrays

Syntax

ARDELRANGE key start end [start end ...]
  • Flags: write
  • ACL categories: @array, @slow, @write
  • Arity: -2

Empties the slots in one or more ranges, each from start to end, both included. A slot in two ranges counts once.

Reply

  • The number of slots that were filled.

Examples

> ARDELRANGE a 0 1 5 5
(integer) 3