LEFTPAD
Use the LEFTPAD function to left-pad the text with the specified character a given number of times.
Use
LEFTPAD( text, character, times )
Left pad the text with the given character a number of times.
Parameter | Required | Description |
---|---|---|
text | Yes | the text to pad |
character | Yes | the character to use to left pad |
times | Yes | the number of times to insert the character |
Returns | Text |
Example
This section isn’t ready just yet—we’re working on it! Please check back soon, and if you need help right away, feel free to ask in our Community Forum.