Removes only trailing whitespace from a string, leaving leading whitespace unchanged. Use it when values may include extra spaces at the end that need to be cleaned up.
-
Remove spaces from the end of a string
{{trimRight record.text}}Input:
{ "record": { "text": " ABC " } }Output:
" ABC"
Tip
-
Only trailing whitespace is removed; leading whitespace remains intact.
-
Use this helper when exporting values where leading spaces are meaningful but trailing spaces should be discarded.
-
Pair with
trimLeftif you need to remove both leading and trailing whitespace.