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.Documentation Index
Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt
Use this file to discover all available pages before exploring further.
Syntax
Parameters
| Parameter | Description | Supported input types | |
|---|---|---|---|
<expression> | The original string. If the length of the original string is larger than the length parameter, this function removes the overflowing characters from the string. | TEXT | |
<value> | The length of the string as an integer after it has been left-padded. | INTEGER | |
<pad> | The string to add to the start of the primary string <expression>. If left blank, <pad> defaults to whitespace characters. | TEXT |
Return Type
TEXT