fromRight package:text-builder-dev

Pad a builder from the right side to the specified length with the specified character.
>>> padFromRight 5 ' ' "123"
"123  "
>>> padFromRight 5 ' ' "123456"
"123456"