strip
Removes all whitespace (tabs, spaces, and newlines) from both the left and right side of a string. It does not affect spaces between words.
Input
-
{{ ' Hello! ' | lstrip }}
Output
-
Hello!
Removes all whitespace (tabs, spaces, and newlines) from both the left and right side of a string. It does not affect spaces between words.
{{ ' Hello! ' | lstrip }}
Hello!