if(c in i) <==> if(i.a <= ch && ch < i.b) <==>  if(ch >= i.a && ch < i.b)  <!=> if(i.a >= ch && ch < i.b)

Yes, it would not have happened with `between`  )