cf_string_lpad¶
Category: string
GitHub: cute_string.h
Left-pads the string to at least n characters using ch.
| Parameters | Description |
|---|---|
s |
The string. Modified in-place. |
ch |
The padding character. |
n |
The minimum total length after padding. |
Remarks¶
Shortform: slpad(s, ch, n).