prepend
Prepends a specified string at the beginning of another string.
Parameters
str1{String}: The string to prepend.str2{String}: The string to add at the beginning.returns{String}: The resulting string.
Usage
{{ prepend str1 str2 }}
Example
{{ prepend 'hello' 'world' }} <!-- Outputs: 'worldhello' -->
Was this article helpful to you?