[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: anyone has template to do preg_replace - like replacement?
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Tue, 12 May 2009 19:30:35 +0200
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/

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member