inserting separator between lis
"Zemian Deng" <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Hello list,
I have:
<#assign my = [0,1,2,3,4,5,6,7,8,9]/>
[<#list my as x>'${x}', </#list>]
producing: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ]
Is there a clean way to remove the last unwanted comma there?
Thanks,
Z
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php