pad start

This block is part of the number group and was last modified in core v14.0.1.

pad start v9.2.5 Updated v14.0.1

Pads the given number with char. on the left to match the given length.

In pins 3
  • number required
    number
  • length required
    number
  • char
    value

    Default 0

Out pins 1
  • value
    value

    Returns the padded number as value

zpad
lpad

A typical wiring for pad start: number feeds the length pin; the value out pin feeds convert to uppercase.

Studio canvas example for the pad start block: typical wiring for pad start.

Version history

Introduced in v9.2.5.

Last modified in v14.0.1.


Back to number Return to the main group to view all sub-groups Back to value: actions Return to the group to view all blocks within this group