Anonymous Anonymous - 1 year ago
578 0

Example how to replace text in a string with Twig.

Twig

Twig replace text

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