Good catch. I agree. strpos is also the prefered way of doing it as per our coding guidelines (possibly also faster?).