Text.PadEnd
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.
Returns a text value padded at the end with pad to make it at least length characters.
Text.PadEnd(text as nullable text, length as number, pad as nullable text) as nullable text
| Argument | Description |
|---|---|
| text | The text to parse. |
| length | The length to pad to. |
| pad | The text to pad with. |
- If pad is not specified, whitespace is used as pad.
Text.PadEnd("abc", 5, "a") equals "abcaa"
Show: