pad-left

Function

Pads text on the left to reach a target length

Syntax

$text = pad-left 10 $number

pad variable to length with spaces

$text = pad-left 10 "42"

pad literal to length with spaces

$text = pad-left 10 "0" $number

pad variable to length with custom character

$text = pad-left 10 "0" "42"

pad literal to length with custom character

Developer Reference
Set: textfn
Version: 0.0.0-3
Encoding: T_OP_FN
Sizes: 3-10
Actcode: 3564209156
Set ID: 136