replaceParameter PositionTypeRequiredDefaultDescription1stringYesn/aThis is the string of text to be replaced.2stringYesn/aThis is the string of text to replace with.
A simple search and replace on a variable. This is equivalent to the PHP
str_replace() function.
replace
assign('articleTitle', "Child's Stool Great for Use in Garden.");
?>
]]>
Where template is:
This should output:
See also regex_replace
and escape.