code: async def substr(self, name, start, end=-1):
          
          return await self.execute_command('SUBSTR', name, start, end)
docs: Return a substring of the string at key ``name``. ``start`` and ``end``
          are 0-based integers specifying the portion of the string to return.