Skip to content

Strip ​

Removes the whitespace at the start and at the end of a string.

Example ​

liquid
[{{ '   Hat   ' | strip }}]

Output

html
[Hat]