Pad
Pads a value with the specified string from the left, right or both sides
Pad("24", "0", 4, SideOption.RIGHT) → "2400"
Pad("40", "n", 5, SideOption.LEFT) → "nnn40"
Inputs
Pad(string, padString, length, [sideOption])
string
- A text valuepadString
- The text to padstring
withlength
- Targer length[sideOption]
- LEFT, RIGHT or BOTH sides option, ex. SideOption.RIGHT
Last updated
Was this helpful?