title: StringTemplate Formatting last item in a list
body: <p>I am generating source using StringTemplate, I need to render a list of statements I want all but last to be separated with a ";\n" but format last one to be wrapped in a "return item;\n"
  can i achieve this in the template or do i have to do some preprocessing manually?</p>
  
  <pre><code>$call.stmts:{$it$;} ;separator="\n"$ 
  </code></pre>
  
  <p>Currently I am using the above.</p>