pad-right

Function

Pads text on the right to reach a target length

Syntax

$text = pad-right 20 $name

pad variable to length with spaces

$text = pad-right 20 "Hello"

pad literal to length with spaces

$text = pad-right 20 "." $name

pad variable to length with custom character

$text = pad-right 20 "." "Hello"

pad literal to length with custom character

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