Re: replace help
Daniel Dekany <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
See:
http://freemarker.org/docs/ref_builtins_string.html#ref_builtin_string_flags
Friday, June 11, 2010, 6:30:19 AM, rottinam wrote:
>
> Hi,
>
> I need to replace all characters that are not numbers or letters (i.e. ' ?
> etc) with a dash.
>
> I am at this point: ${post_foo?replace(' ','-')}
>
> Thanks for any help you can provide.
> -ro
--
Best regards,
Daniel Dekany
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo