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.

ParameterTypeDescriptionRemarks
sutf8The string to pad.
widthi64The target character count.
padutf8The fill pattern (repeated / truncated as needed).
returnsutf8The padded string (unchanged if already wide enough).
wcl
pad_start("42", 5, "0")   // left-pad to width 5 → "00042"