Smarty: Concatenation of variables inside block parameters

In Smarty sometimes you need to concatenate 2 variables and pass it as a single variable inside a block. But the placeholder won't allow any expected PHP syntax

You want to accomplish something like:

{assign var="MYVAR" value=$variable1.$variable2}

But, the dot in smarty is for array access, so, what about...

{assign var="MYVAR" value=$variable1+$variable2}

No. It does not work either. Ah! Let's try a modifier:

{assign var="MYVAR" value=$variable1|cat:$variable2}

Aha! That's the solution!

Dedicated to my friend Sambel, no pun intended!