Search and Replace in Smarty

How to find and replace part of a string in Smarty:

{$string_variable|replace:”Old Word”,”New Word”}

Subscribe to comments Comment | Trackback |
Post Tags: ,

Browse Timeline

Comments ( 1 Comment )

it’s {$string_variable|replace:’Old Word’:’New Word’}

Patrick Larson added these pithy words on Apr 20 12 at 11:57 am

Add a Comment

You must be logged in to post a comment.

© Copyright 2009-2010 Alpha Papa Hotel . Thanks for visiting!