Shouldn't this be ```s.string[s.offset+1 : s.endof + 1])``` ?