rstrip - Liquid Filter Reference - 0.11.5

Filter Name rstrip
Group Text
Version 0.11.5

Description

Removes all whitespace (tabs, spaces, and newlines) from the right side of a string. It does not affect spaces between words.

Examples

{{ "          Who watches the watchers?          " | rstrip }}
          Who watches the watchers?

Back to Filter List

Back to Liquid Reference for 0.11.5

 

 
Back to Documentation