lstrip - Liquid Filter Reference
On this page
Description
Removes all whitespace (tabs, spaces, and newlines) from the left side of a string. It does not affect spaces between words.
| Property | Value |
|---|---|
| Return Type | string |
| Category | text |
Examples
```liquid
{{ “ Who watches the watchers?” | lstrip }} ```
Output: Who watches the watchers?
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.