Arguments
string
required
The key to get.
integer
required
The start index of the substring.
integer
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.
const substring = await redis.getrange("key", 2, 4);
Return a substring of value at the specified key.
const substring = await redis.getrange("key", 2, 4);
Was this page helpful?