I try to contanate two strings in velocity to build a html table. I want to do this e.g. like in Java with +=. Is their any possibility to do that? I can't find something.
Sourcecode looks like this, but I know that the operation += doens't work:
#foreach ($event in $allEvents)
#set ($longString = $longString += "<th>$event</th>")
#end
Somebody any idea how to solve that without an array?
That would simply be:
Or (maybe faster):