Kris Saelen

Kris Saelen

  • NA
  • 1
  • 882

Remove new lines from string before word

May 21 2015 8:16 AM
Hello,
 
I have a template message and want to remove the 2 new lines before a specific word "[cancel]".
 
My template is:  
Dear [customer],
 
This is a reminder message.
 
[cancel] 
--------------
 
If the cancel is not allowed i remove it from the string but  i need to remove the new lines else they are available in the mail.
 

Answers (1)