Skip to content

Bars Specification 0.1.0 — Transform: lstrip

Category: string · Since: 0.1.0

Trims leading whitespace.

Trims leading Unicode whitespace from the string-coerced input, leaving trailing whitespace untouched.

Input coercion: string

Arguments

None.

Arity: 0–0

Worked examples

[{{ phrase | lstrip }}]

[hello  ]
[{{ phrase | downcase | lstrip }}]

[hello]

Full fixture: transforms/transform-lstrip.json