String
GETRANGE
Return a substring of value at the specified key.
Arguments
keybodystrrequired
The key to get.
startbodyintrequired
The start index of the substring.
endbodyintrequired
The end index of the substring.
Response
strrequired
The substring.
Example
redis.set("key", "Hello World")assert redis.getrange("key", 0, 4) == "Hello"