redis.set("key", "Hello World") assert redis.setrange("key", 6, "Redis") == 11 assert redis.get("key") == "Hello Redis"
Writes the value of key at offset.
Was this page helpful?