How can manage 'Mrs.' or 'Madame' values in my script?
Hi Everyone...
I have the current script below but Id' like to add 'Madame' and 'Monsieur' as values instead of just 'Mr.' and 'Mrs.' :
#set ($greetCheck = ${lead.Salutation})
#if ($greetCheck.contains('Mr.'))
Cher ${lead.FirstName},
#elseif ($greetCheck.contains('Mrs.'))
Chère ${lead.FirstName},
#else
Bonjour,
#end
So to summarise, I want to use Cher + first name to people whose title is either Mr. or Monsieur in the database.
Many thanks !