How to combine two string in twig?

twig

Solution

The way to do it is:

{% set c = a ~ b %}

Problem

I want to do something like this: ``` {% set c=a+b %} ``` Where a and b are strings. How can I do it?

Original source