prepend

Insert a string to the beginning of some text.

Specification

{{ text | prepend: other_string }}

Parameter Description Example Values
text (required) The given text. “jumped over the lazy dog”
other_string (required) The other string that you want to add to the beginning of text. “the quick brown fox”

Examples

{{ ‘jumped over the lazy dog’ | prepend: ‘The quick brown fox ’ }}

This will output “The quick brown fox jumped over the lazy dog”