smarty replace string between two characters code example
Example 1: string replace smarty
{$articleTitle|replace:'Garden':'Vineyard'}
Example 2: str_replace smarty template
{$articleTitle}
{$articleTitle|replace:'Garden':'Vineyard'}
{$articleTitle|replace:' ':' '}