1 Reply Latest reply on Feb 24, 2017 2:18 PM by Sanford Whiteman

    Velocity concatenate not working with comma?

      Hello Marketo users,


      I am trying out my second velocity script. Somehow commas are breaking the script. $greetll is not printing correctly in the email, and the part is breaking is ${greeting}, what I see from the else part is ", we love local". Can you someone help? thanks!


      #set ($fname = ${lead.FirstName})


      It's true, we love local


      #set($greeting = $display.capitalize($fname))

      #set($comma = ",")

      #set($lovelocal = " we love local")

      #set($greetll = "${greeting}$comma$lovelocal")