prepend Filter

Prepend a string to the beginning of another string.

Parameters

Parameter Required Description
string Yes string String to prepend.

Category

String Filters

Description

The prepend filter prepends a string to the beginning of a string.

{{ "I think you're awesome." | prepend: 'Honestly, ' }}

Output

Honestly, I think you're awesome.