Argument | Required/ Optional | Description |
---|---|---|
first_string | Required | Can be a character string. The strings you want to change. You can enter any valid expression. |
length | Required | Must be a positive integer literal. This argument specifies the length you want each string to be. When length is a negative number, LPAD returns NULL. |
second_string | Optional | Can be any string value. The characters you want to append to the left-side of the first_string values. You can enter any valid expression. You can enter a specific string literal. However, enclose the characters you want to add to the beginning of the string within single quotation marks, as in 'abc'. This argument is case sensitive. If you omit the second_string, the function pads the beginning of the first string with blanks. |
PART_NUM | RETURN VALUE |
---|---|
702 | 000702 |
1 | 000001 |
0553 | 000553 |
484834 | 484834 |
ITEM_NAME | RETURN VALUE |
---|---|
Flashlight | *..**.Flashlight |
Compass | *..**..**Compass |
Regulator System | Regulator System |
Safety Knife | *..*Safety Knife |
ITEM_NAME | RETURN VALUE |
---|---|
Flashlight | NULL |
Compass | NULL |
Regulator System | NULL |