Text.TrimEnd
This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.
Removes any occurrences of the characters specified in trimChars from the end of the original text value.
Text.TrimEnd(text as nullable text, optional trimChars as nullable list) as nullable text
| Argument | Description |
|---|---|
| text | The text to trim from. |
| optional trimChars | A character value or a list of character values. If trimChars is not specified, then whitespace characters are trimmed. |
Show: