separator in string template
Posted
by
Eldeus
on Stack Overflow
See other posts from Stack Overflow
or by Eldeus
Published on 2010-12-21T05:16:58Z
Indexed on
2010/12/21
5:21 UTC
Read the original article
Hit count: 523
stringtemplate
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
© Stack Overflow or respective owner