you mean ((char)i) == 0?