How to Substring Dynamic Field?

LitonRx
Participant
Hi, How to take some part of dynamic added string. Suppose Dynamic field contains a String "12345678" and i want to just show first four characters.
1 REPLY 1
Amanda_G
Employee

Hi @LitonRx , 

 

Good question! Are you referring to custom fields that you insert into your campaign? If so, we have no way of shortening those at this time. The information would need to be shortened in the contact record itself. If you didn't want to lose that data, but still wanted to display the shortened field inside of the email campaign, I'd recommend having two custom fields, one with the shortened data, and one with the full length. (Custom field 1: 12345678, Custom field 2: 1234). Then you can just insert Custom Field 2 into the campaign, but still have Custom Field 1 remain in the contact data for reference. 

 

I hope that helps, please let me know if I misunderstood that at all! 


Amanda G.
Community & Social Care
Did I answer your question? If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.

You're not alone on your email marketing journey. Connect with a Marketing Advisor to see how they can help you develop the right strategy for your business and get the most out of your Constant Contact experience.
  • Support Tips

    Reporting Metrics

    "Authenticating your emails is the best way to ensure your emails achieve maximum deliverability. If you have your own domain, setting up self-authentication is especially important! " - Will

    See Article
    Avatar
  • Support Tips

    Call-To-Action Links

    "Target your most engaged contacts by creating a segment. Create a special offer or show your appreciation!" - Caitlin

    See Article
    Avatar
  • Support Tips

    Read Before You Send a Test Email

    "Did you know? You can send unlimited test emails to your verified email address, but only 50 in a 24-hour period to non-verified email addresses." - Nick

    See Article
    Avatar