replace
Replaces every occurrence of an argument in a string with the second argument
Input
-
{{ 'sea shells by the sea shore' | replace: 'sea', 'ocean' }}
Output
-
ocean shells by the ocean shore
Replaces every occurrence of an argument in a string with the second argument
{{ 'sea shells by the sea shore' | replace: 'sea', 'ocean' }}
ocean shells by the ocean shore