ZFILL
Pad a string with leading zeros
Example Usage
ZFILL("123", 5) -> "00123”
Overview
Function signature
ZFILL(value, length)
Category
String
Return data type
string
Arguments
Name | DataType | List Options | Description |
---|---|---|---|
value | string | The string to pad; zeros added to the front | |
length | int | The finished length of the string |