Skip to content

Bars Specification 0.1.0 — Transform: remove

Category: string · Since: 0.1.0

Removes every occurrence of a value.

Removes every occurrence of value from the string-coerced input.

Input coercion: string

Arguments

Name Type Optional Default
value string no

Arity: 1–1

Worked examples

{{ phrase | remove: "o" }}

f b
{{ phrase | upcase | remove: "L" }}

HEO

Full fixture: transforms/transform-remove.json