Hi Everyone! Lorenzo here from McNichols Co. We're hot and heavy into our implementation and I've been working with my team to create Calculation Rules using VTL. We have one rule that is really stumping us, but it seems like it should be so simple.
We have two Attributes, one is called "Expanded Style", and the second is "Expanded Style Alternate". All I want to do is replace part of the value.
Example:
Here is what our VTL looks like:
#set($es='')
#set($es=${Expanded Style})
#set($es=$es.replace('" No. ',' #'))
$es
This actually does not work. So we tried breaking it down into steps:
#set($es="")
#set($es=${Expanded Style})
#set($es=$es.replace("No. ","#"))
$es
The above works, but doesn't give us out desired result, we end up with this:
Nothing we have tried works. We simply
cannot figure out how to replace a double quote with a blank.
Has anyone figured out how to replace a double quote in VTL?
------------------------------
Lorenzo Francisco | Data Analyst
McNichols Company | 813-625-9369
------------------------------