Adds padding characters to the beginning of a string.
Equivalent to pad
, but padding characters are added to the beginning of the
string, rather than the end.
(ensure (eq? (pad-start "hello" 4) "hello"))
(ensure (eq? (pad-start "hello" 8) " hello"))
(ensure (eq? (pad-start "hello" 8 \h) "hhhhello"))