Text & patterns
Scalar
lpad()
Pads the string with the character from the left until it has count characters
Arguments & returns
lpad(string, count, character)
Scalar
| Overload link | string | count | character |
Returns |
|---|---|---|---|---|
| #01 | VARCHAR | INTEGER | VARCHAR |
VARCHAR |
Example
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.
Catalog examples
SELECT
lpad('hello', 10, '>');