I'm using this code and it is outputting correctly, but wondering how do I remove the [] around the data?
#set ($allNames = [])
#foreach( $object in $accountsOwned_cList )
#set( $tmp = $allNames.add($object.product) )
#end
${allNames}
Outputs [Product 1, Product 2]
Probably a simple answer but wondering how I get it to output without the [] surrounding it
... View more