[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: testing for only the subject and the body
- To: http://www.wwa.com/~dattier (David W. Tamkin)
- Subject: Re: testing for only the subject and the body
- From: http://dummy.us.eu.org/robert (robert)
- Date: Thu, 12 Jun 1997 16:10:18 -0700
- In-Reply-To: <http://www.miso.wwa.com/~m0wcHg9-000k2HC>
- References: <http://www.miso.wwa.com/~m0wcHg9-000k2HC>
> From: http://www.wwa.com/~dattier (David W. Tamkin)
> Date: Thu Jun 12, 4:45pm
>
> robert, as I understand, wants to test for this:
>
> (("foo" in subject) or ("foo" in body)) and \
> (("bar" in subject) or ("bar" in body))
>
> Both "foo" and "bar" must be present, and they must be in the subject or the
> body; if they're in any other header lines they don't count, but it's all
> right if one is in the subject and the other is in the body.
>
> Robert, if I've misunderstood, please inform me, because that's the question
> I'm going to answer.
. . .
Your solution works great! Thanks!
P.S. How did you know my last name is"? Was/is there something in the
header which says this?