rstrip
Removes all trailing whitespace from the parameter
Syntax
{{ <Parameter> | rstrip }} |
Arguments
Parameter - A string literal or name of the input parameter to remove all trailing whitespace
Example 1:
InputParameter Value |
' Space, the final frontier ' |
Input |
{{ InputParameter | rstrip}} |
Output |
' Space, the final frontier' |
Example 2:
Input |
{{ 'These are the voyages of the starship Enterprise. ' | rstrip}} |
Output |
'These are the voyages of the starship Enterprise.' |