Re: How to assign a variable to an evaluated string
tam_edward <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Move the comma after bananas to just before oranges within the if
<#assign useOranges=false>
<#assign fruit>
apples,
bananas
<#if useOranges>
,oranges
</#if>
</#assign>
<#assign arr=fruit?split(",")>
${arr?size}<br />
${fruit}
--
View this message in context: http://freemarker.624813.n4.nabble.com/How-to-assign-a-variable-to-an-evaluated-string-tp2172598p4104392.html
Sent from the freemarker-user mailing list archive at Nabble.com.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d