#trimEnd
Returns the string with all trailing whitespace removed.
#trimEnd(value)Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
value |
path | string |
The string to trim. |
Returns
Section titled “Returns”string
Examples
Section titled “Examples”Trim the end
Section titled “Trim the end”{ "text": " padded "}{ "result": "#trimEnd($.text)"}{ "result": " padded"}