Closed garraflavatra closed 4 years ago
Hi,
In PHP, you can merge two strings like this: When $username = John, "Hello " . $username . "!" produces Hello John!.
$username
John
"Hello " . $username . "!"
Hello John!
Can we do that also in Twig?
{{ 'http://' ~ app.request.host }}
https://stackoverflow.com/a/7704889/814031
Thank you very much!
Hi,
In PHP, you can merge two strings like this: When
$username
=John
,"Hello " . $username . "!"
producesHello John!
.Can we do that also in Twig?