pad_start(s: utf8, width: i64, pad: utf8) → utf8
Category: [strings](builtinsstrings)_
Left-pad a string with a fill pattern until it is width characters long.
| Parameter | Type | Description | Remarks |
|---|---|---|---|
| s | utf8 | The string to pad. | — |
| width | i64 | The target character count. | — |
| pad | utf8 | The fill pattern (repeated / truncated as needed). | — |
| returns | utf8 | The padded string (unchanged if already wide enough). | — |
wcl
pad_start("42", 5, "0") // left-pad to width 5 → "00042"