Lava Filters - Trim
Category:Text
Description:
Removes all blank spaces (or instances of an optional character string) from the beginning and end of the input string.
Input:
Lava: Example 1:
-{{ ' Ted Decker ' | Trim }}-
Example 2:
{{ '/*/*/*/Ted Decker//*/*/*' | Trim:'/*' }}
Output: Example 1
-Ted Decker-
Example 2
/Ted Decker/