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 integer length that the string will be after it has been left-padded. A negative number returns an empty string. | INTEGER |
<pad> | The string to add to the end of the primary string <expression . If left blank, <pad> defaults to whitespace characters. |
Example
The following statement adds the string βABCβ to the end of the string βFireboltβ repetitively until the resulting string is equivalent to 20 characters in length.FireboltABCABCABCABC