replace

Top  Previous  Next

A simple search and replace on a variable.

Example:

Input:

       John Smith        

Template:

       {#name|replace:"John":"Samuel"#}

Output:

        Samuel Smith