Re: variable concat
Daniel Dekany <[email protected]> Thu, 16 Jun 2005 15:57:57 +0200
| Newsgroups | gmane.comp.text.fmpp |
|---|---|
| Message-ID | <[email protected]> |
Thursday, June 16, 2005, 1:12:16 PM, Henrik Gemal wrote:
> I need to do something like this:
>
> <#assign coolnot="super" >
> <#assign test="cool">
> <#assign result="${test}not" >
> ${result}
>
> this produces "coolnot"
>
> Is there anyway to get it to produce "super" ????
Yes:
<#assign result="${test}not"?eval>
> I need it to look up the value of "coolnot" and not return the string
> "coolnot" ?
--
Best regards,
Daniel Dekany
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click