AnsweredAssumed Answered

Editing Tokens for Email Subject Line

Question asked by Jason Martin on Apr 23, 2015
Latest reply on Apr 24, 2015 by Jason Martin
Does anyone know if there is a way to modify the token code to include punctuation along with the variable token? I want to use the first name token in an email subject line followed by a comma if there is a lead first name, but exclude the comma if there is no data. I tried variations in order to get the following result:

Subject with Lead Data: Jason, Download this Form!
Subject without Lead Data: Download this Form!

I tried using variations such as {lead.First Name & ",":default=}} however this errors out the email as it is not a recognized token. If I put the comma outside of the token brackets I get the following subject line:

, Download this Form!

As you can see, the comma is included at the front of the subject line as I did not have any text for the default. Any help on this would be greatly appreciated!