$PadLeft
- 14 May 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
$PadLeft
- Updated on 14 May 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
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:
Name | Description |
---|---|
☆ Text | The input string. |
☆ Length | The length of the string to return. |
PadCharacter | The character to be inserted as padding. The default is a space. |
Was this article helpful?