def __init__(self, mgr, string):
    self.mgr = mgr
    self.chars = self.clear(string)
    self.length = len(self.chars)
    self.index = 0
def __init__(self, mgr, string):
    self.mgr = mgr
    self.chars = self.clear(string)
    self.length = len(self.chars)
    self.index = 0