Using '$' as Copy in Velocity Script | Community
Skip to main content
New Participant
July 25, 2023
Solved

Using '$' as Copy in Velocity Script

  • July 25, 2023
  • 1 reply
  • 1087 views

Basic question here, but have a Velocity script where the output copy uses '$' to designate dollars. Is there anything special to do so this doesn't break anything?


I've tested and it seems to work, but I know in Velocity that designates a variable so want to ensure it is just straight text and doesn't potentially do anything weird if my copy is like "Payment Per $1,000" and in the script it considers "$1,000" to be a variable.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Darshil_Shah1

Well, you can use the EscapeTool to print the $ in email. You can print the dollar in velocity by:

${esc.d}

 

1 reply

Darshil_Shah1
Darshil_Shah1Accepted solution
Community Manager
July 25, 2023

Well, you can use the EscapeTool to print the $ in email. You can print the dollar in velocity by:

${esc.d}