Re: freemarker list containing

Daniel Dekany <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Thursday, September 25, 2008, 4:42:20 AM, nothing@all wrote:

> Hi everyone,
>
> i'm new to freemarker
>
> i'm wondering freemarker has some function like java does;
> List.contains("xyz")
> if has, can anyone tell me how to write it in freemarker template?

Here it is:
http://freemarker.org/docs/ref_builtins_string.html#ref_builtin_contains

And note that we have:
http://freemarker.org/docs/alphaidx.html

> thank you

-- 
Best regards,
 Daniel Dekany


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.