We are setting up an invitation for an event in Marketing Cloud and want to include in the message %%salutation%% are invited to xx event
however if the salutation is a single name we would like to append and Partner to the name so it reads %%salutation%% and Partner are invited to xx event
Our salutation data field follows this format:
- Name
- Name, Name, Name
- Name and Name
- Name & Name
So if there is a comma, & or and then don't show "and partner"
Is this something you could do with AMPscript or is there a better way to do this?