--- title: "$PadRight" ---
This is generated from the built in components of Otter 2024.0, and may be different than what you have installed (especially if you have extensions); go to [Gear Icon] -> Administration -> Functions within your Otter instance to see exactly what operations are available.

Returns a new string that left-aligns the characters in this instance by padding them on the left with a specified character, for a specified total length.

Script usage:

$PadRight(Text, Length, [PadCharacter])

Parameters:

NameDescription
TextThe input string.
LengthThe length of the string to return.
PadCharacterThe character to be inserted as padding. The default is a space.