Skip to main content
3 events
when toggle format what by license comment
Feb 27 at 12:53 comment added Martijn e @mahmoudGueye I tried but somehow I always ends up with two zeros. So in my data I have something like this: 012345 and using {{=format(TrackingNumber, '0#####')}} gives me 00123456. Do I miss something?
May 10, 2019 at 9:11 comment added Mahmoud Gueye Yes, SSJS can do it easily, but im parsing my json with GTL, then using ampscript is the the only way to retrieve values from the gtl. {{=format(TrackingNumber, '0#####')}} is the best solution
May 9, 2019 at 16:42 history answered Jason Hanshaw CC BY-SA 4.0