code: def rest_of_string(self, offset=0):
          
          if self.has_space(offset=offset):
              return self.string[self.pos + offset:]
          else:
              return ''
docs: A copy of the current position till the end of the source string.