Skip to content

Rstrip ​

Last updated View as Markdown

Removes the whitespace at the end of a string.

Example ​

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

Output

html
[   Hat]