}
// if we can't use LIKE, we have to take the substring of the
// first value and compare it to the second
dict.assertSupport(pre != null, "StringLengthFunction");
dict.substring(buf,
new FilterValueImpl(sel, ctx, bstate.state1, _val1),
new ZeroFilterValue(sel, state),
new StringLengthFilterValue(sel, ctx, bstate.state2, pre,post));
buf.append(" = ");
_val2.appendTo(sel, ctx, bstate.state2, buf, 0);