Render template to String

The rendertemplate function can be used to render template contents to a String.

rendertemplate(TemplateCall):String

Example:

define test(a:Int){ output(a) "!" }
function showContent(i:Int){
  log(rendertemplate(test(i)));
} 
Render template to String