Changing memchr by memstr