remove
Removes any specified substring from a string.
Parameters
str1{String}: The input string. This parameter is required.str2{String}: The substring to remove. This parameter is required.returns{String}: The resulting string.
Usage
{{ remove str1 str2 }}
Example
{{ remove 'hello' 'll' }} <!-- Outputs: 'heo' -->
Was this article helpful to you?