On Sat 31-May-03 12:40pm-0400, Wilfried Mestdagh wrote:

> I have this: "Hello %OFromFName,"
> When I hit replay to someone with this header:
> From: "Firstname Lastname, Company nv" <[EMAIL PROTECTED]>
> Then in the reply is:
> Hello Company,
> instead of:
> Hello Firstname,

Hmm, I didn't know it had a "comma rule."  I see it's specialized.  It
appears to take the first name after the last comma.  I see it has
exceptions.  For example "John Smith, Jr" comes out John instead of
Jr.

I can't find any definition for the actual rule used - which makes the
rules fairly useless to us.

You could write your own rule, of course.  Here's an example of a
QT macro called "HelloF":

Hello %if:"%ABtoFirstName"=""%-
:"%SetPattRegExp='^(.*?)([.@, ]|$)'%-
%RegExpBlindMatch='%ToName'%SubPatt='1'"%-
:"%ABtoFirstName",

All it says is use the first name from the address book, if there is
one.  Otherwise use the To name up to the first comma, space or @, if
any.  Modify it to your suit your taste.

-- 
Best regards,
Bill

"I confess that mankind has a free will, but it is to
 milk kine, to build houses, etc., and no further."
          [Martin Luther, Table Talk]


________________________________________________
Current version is 1.62r | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to