PadLeft

Insert a number of characters to the beginning of a string.

Insert a number of characters to the beginning of a string (the left) ensuring the string length doesn't exceed the length passed in the first argument.

Expression
Databox Value
Result
Comments

PadLeft(20, '_')

Please sign

_________Please sign

Inserts 9 underscores ensuring the string is no more than 20 characters

PadLeft(8, "> ")

Note:

>>>Note:

Resulting string is 8 characters long

Last updated