Text.PadStart
Returns text of a specified length by padding the start of the given text.
function (optionaltext
as nullable any,count
as number, optionalcharacter
as nullable any) as nullable any
Returns a
text
value padded to length count
by inserting spaces at the start of the text value text
. An optional character character
can be used to specify the character used for padding. The default pad character is a space.Text.Transformations
Pad the start of a text value so it is 10 characters long.
Text.PadStart("Name", 10)
" Name"
Pad the start of a text value with "|" so it is 10 characters long.
Text.PadStart("Name", 10, "|")
"||||||Name"
Last modified 4yr ago