Concatenation string with variable in smarty

smarty

Solution

Use the cat modifier:

{$obj->calledFunc('string const')|cat:$var}

Problem

I need in smarty template to transmit to function concatenated string constant with variable value, How can i do it? some example code: `{$obj->calledFunc('string const').$var}` but . operator doesn't work

Original source