Skip to main content
Adds a specified pad string to the start of the string repetitively up until the length of the resulting string is equivalent to an indicated length. The similar function to pad the end of a string is RPAD.

Syntax

Parameters

Return Type

TEXT

Example

The following statement adds the string “UserName:” in front of the username string “esimpson” repetitively until the resulting string is equivalent to 17 characters in length.

Rows: 1Execution time: 5.80ms