Currently I am doing a project which involve Nvelocity template, however, I need use advance foreach, I could find the reference, just I could not figure out how does it works,reference link
#foreach($l in $markPoint)hardcodetext($l)#end
however, I need add "," between items,hardcode will left one after last item, which I don't want, any helps?