code: def get_string_from_data(self, offset, data):
          
          s = self.get_bytes_from_data(offset, data)
          end = s.find(b'\0')
          if end >= 0:
              s = s[:end]
          return s
docs: Get an ASCII string from data.