Token manipulation

AsafGR
Level 1

Token manipulation

Hey all

Has anyone ever tried changing the output of a personalization token?

I have a token that gives a numeric output (token = 100000)

Client requested to see if we can add commas so the output will be displayed 100,000

When I tried doing that, it broke my token and I was wondering if anyone has ever tried something like this?

 

Thanks!

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Token manipulation

Your question is rather vague.

 

  • When you say “personalization token” do you actually mean Person field, which you’re currently outputting using {{lead.token}} syntax (that isn’t the only way to output Person fields)?
  • Or do you mean a Text or Rich Text {{my.token}}?
  • And are you outputting in an email context, or on a landing page?

 

Also, what is the exact thing you tried that broke the token?