Rajesh Saha schrieb am 09.04.2012 um 15:10 (+0530):
> 
> *I want my result to be like this :*
> 
> abc,def
> 
> *What I have done (in test.tt template file):*
> 
> [% FOREACH var IN vars %]
> [%- var -%][%- "," -%]
> [% END %]

http://template-toolkit.org/docs/manual/VMethods.html#section_join

Michael

_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to