Arguments
str
required
The key to get.
int
required
The start index of the substring.
int
required
The end index of the substring.
Response
The substring.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
redis.set("key", "Hello World")
assert redis.getrange("key", 0, 4) == "Hello"
Return a substring of value at the specified key.
redis.set("key", "Hello World")
assert redis.getrange("key", 0, 4) == "Hello"
Was this page helpful?