[][src]Function liquid::filters::rstrip

pub fn rstrip(input: &Value, args: &[Value]) -> FilterResult

Removes all whitespace (tabs, spaces, and newlines) from the right side of a string.

The filter does not affect spaces between words. Note that while this works for the case of tabs, spaces, and newlines, it also removes any other codepoints defined by the Unicode Derived Core Property White_Space (per rust documentation.