W3cubDocs

/Liquid

lstrip

Removes all whitespaces (tabs, spaces, and newlines) from the beginning of a string. The filter does not affect spaces between words.

Input

{{ "          So much room for activities!          " | lstrip }}

Output

So much room for activities!

© 2005, 2006 Tobias Luetke
Licensed under the MIT License.
https://shopify.github.io/liquid/filters/lstrip/