Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Syntax
Text.PadStart(
text as nullable text,
count as number,
optional character as nullable text
) as nullable text
About
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.
Example 1
Pad the start of a text value so it is 10 characters long.
Usage
Text.PadStart("Name", 10)
Output
" Name"
Example 2
Pad the start of a text value with "|" so it is 10 characters long.
Usage
Text.PadStart("Name", 10, "|")
Output
"||||||Name"