Anonymous Anonymous - 2 years ago
762 0

Example how to replace text in a string with Twig.

Twig

Twig replace text

{{ "I like to replace the . with a ,"|replace({'.': ','}) }}