Marck, on Mon, 29 Mar 2004, at 12:36:07 [GMT +0100] (which was 13.36 here in
Italy) you wrote:

MDP> I thought the ' - work' bit was on the last name. No?

MDP> If it's on the first name, then you can do this:

MDP> %IF:"%ABtoGender"="2":"Cara":"Caro" %-
MDP> %SETPATTREGEXP="(.*)( - .*)?"%-
MDP> %REGEXPMATCH="%ABTOFIRSTNAME='%TOFNAME'"


Sorry, I apologize. The " - " tag is in the last name. I tried wit the
following but it's not running when the ABtoGender field is "O"
(undefined).

%IF:"%ABtoGender"="0":"Spett.le":"Egr." %-
%SETPATTREGEXP="(.*) - .*?"%-
%REGEXPMATCH="%ABTOLASTNAME='%TOLNAME'"

 Bye!

-- 
______________________________________________________
 Jacopo [Italy]
 mailto:[EMAIL PROTECTED]
______________________________________________________
The Bat! v2.04.4 on Windows XP  5.1 Build  2600
Service Pack 1
Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html
______________________________________________________


________________________________________________
Current version is 2.04.7 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to