I know how to do this:
Expression body = Expression.Call(selector.Body, "Contains", null,
Expression.Constant("cats", typeof(string)));
Since 'contains' returns true/false it's no problem.
However, how do I do IndexOf and see if the result is greater than 5?
Expression body = Expression.Call(selector.Body, "IndexOf", null,
Expression.Constant("cats", typeof(string)));