code: def iternext(self):
          
  
          try:
              char = self._string[self._index]
              self._index += 1
          except IndexError:  # pragma: no cover
              raise StopIteration
  
          return char
docs: Iterate through characters of the string.