I want to concatenate an already assigned variable and save it to a new variable, something like this:
{assign var=permCat value="de.admin"}
{assign var=objectName value="myClass"}
{assign var=objectNameUpper value=$objectName|ucfirst}
{assign var=editPerm value=$permCat|cat:"canEdit"|cat:$objectNameUpper}
So, the resulting $editPerm should be: de.admin.canEditMyClass
How can I do this? Currently, it throws an error: Cannot use string as array offset...