How do I combine two or more strings?

A very simple requirement :

{{ function "a" "b" }} ==> "ab"

I think this simple function should have been provided, but I didn’t find it in the document.

Look at printf.

{{ printf "%s%s" "a" "b" }} ==> "ab"
1 Like