Lava Filters - TrimEnd

Category:Text

Description:

Removes all blank spaces (or instances of an optional character string) from the end of the input string.

Input:
Lava:

Example 1:

-{{ ' Ted Decker ' | TrimEnd }}-


Example 2:

{{ '/*/*/*/Ted Decker//*/*/*' | TrimEnd:'/*' }}
Output:

Example 1

- Ted Decker-


Example 2

/*/*/*/Ted Decker/