Return a substring of value at the specified key.
const substring = await redis.getrange("key", 2, 4);
The key to get.
The start index of the substring.
The end index of the substring.
The substring.
Was this page helpful?