starts_with Modifier

Returns true if the value starts with a given string. This comparison is case-insensitive.

reply: Actually, I disagree because this is the internet.
yaml
{{ if reply | starts_with('actually') }}
{{ if reply | starts_with('respectfully') }}
antlers
true
false
html
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →