xsl-list
[Top] [All Lists]

Re: [xsl] anyone has template to do preg_replace - like replacement?

2009-05-12 13:33:50
Cool. Thank you.

On Tue, May 12, 2009 at 1:30 PM, Martin Honnen 
<Martin(_dot_)Honnen(_at_)gmx(_dot_)de> wrote:
Dmitri Snytkine wrote:

Does anyone have a template that would replace the underscore char with a
space?

I need to convert strings like 'hello_world' to 'hello world'
and position of underscore is not the same.

 translate('hello_world', '_', ' ')

--

       Martin Honnen
       http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>