Good afternoon folks. have a freemarker question ...
# suitescript
c
Good afternoon folks. have a freemarker question related to Advanced Electronic Payment templates: we use underscores in our transaction numbering scheme, so {tranid} often contains the character "_". I'm brand new to Freemarker. How do I do a replace in the template so that any "_" in {tranid} are replaced with "-"?
And you'll just have to imagine the underscores in that question. 🤣
😂 1
c
Thank you so much. Hoped it would be that easy
m
The TLDR; is
${record.tranid?replace("_", "-")}