Table of contents
TOC
Collapse the table of content
Expand the table of content

Text.PadEnd

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

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  

Arguments

ArgumentDescription
textThe text to parse.
lengthThe length to pad to.
padThe text to pad with.

Remarks

  • If pad is not specified, whitespace is used as pad.

Example

Text.PadEnd("abc", 5, "a") equals "abcaa"  
© 2018 Microsoft