PADLEFT ER function

The PADLEFT function returns a String value of the specified length, where the start of the specified string is padded with the specified characters.

Syntax

PADLEFT (text, length, padding chars)

Arguments

text: String

A String value that represents the original text.

length: Integer

An Integer value that represents the final number of characters in the padded string.

padding chars: String

The characters to use for padding.

Return values

String

The resulting text value.

Example

PADLEFT ("1234", 10, " ") returns the text string "      1234".

Additional resources

Text functions