$PadLeft
  • 14 May 2021
  • 1 Minute to read
  • Dark
    Light
  • PDF

$PadLeft

  • Dark
    Light
  • PDF

Article Summary

This is generated from the built in components of BuildMaster 7.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.

$PadLeft

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

Script usage:

$PadLeft(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.

Was this article helpful?

What's Next