[stringtemplate-interest] Attribute iteration

Glenn Williams glw at iosemantics.com
Fri May 5 17:48:36 PDT 2006


I would like to iterate through the attributes in a template putting a comma 
after every attribute except for the last one. In that case I want to put a 
period. I've tried the first/rest/last interface but the last attribute is 
returned with the rest of that attributes from the "rest" call. Is there 
another approach? 



More information about the stringtemplate-interest mailing list