1

I need the content I pull in dynamically to do not break in email - is there any AMPscript function that I can use, something similar to Trim that we use for non-empty spaces?

Thanks. VD

2
  • 1
    Can you add more detail for what you are wanting to do? Maybe add some code? Commented Apr 9, 2015 at 15:41
  • Hi Drew, I'm calling a variable @expirydate like this %%=v(@expirydate)=%% and I need the date to do not break, I need it to stay on the same row. How can I do this? Thanks.
    – Snowalker
    Commented Apr 9, 2015 at 16:48

2 Answers 2

0

You can use the Replace() function. Like this:

%%=replace(@expirydate," ","&nbsp")=%%
1
  • that should work hehe. Thanks Adam, helpful as usual :)
    – Snowalker
    Commented Apr 9, 2015 at 19:00
0

Sounds like you are trying to prevent word wrap. You may want to try something like this in your html/css.

1
  • the data that is being pulled in has spaces Drew - I know about white-space... Anyway Adam's solution is what I needed. Thanks both.
    – Snowalker
    Commented Apr 9, 2015 at 19:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .