separator in string template
- by Eldeus
I have the following code in a stringtemplate file:
(1) Module $component$ = new Module(new GeometryDescription[] {$shapes;separator=", "$});
which i know is wrong as what I would like is to be able to generate multiple of this line
so that when i call
Module North = new Module(new GeometryDescription[] {part1,part2});
Module South = new Module(new GeometryDescription[] {part1,part2,part3});
how can i write sentence (1) to be able to do that
thanks