Removes all trailing whitespace.
function (optional
text
as nullable any, optionaltrim
as nullable any) as nullable any
Returns the result of removing all trailing whitespace from text value text
.
Text.Transformations
Remove trailing whitespace from " a b c d ".
Text.TrimEnd(" a b c d ")
" a b c d"