Text.TrimEnd
Removes all trailing whitespace.
Syntax
Text.TrimEnd(
text as text,
optional trim as any
) as text
Remarks
Returns the result of removing all trailing whitespace from text value text
.
Examples
Example #1
Remove trailing whitespace from " a b c d ".
Text.TrimEnd(" a b c d ")
Result:
" a b c d"
Category
Text.Transformations