29th November 2020 at 5:53pm
purpose | returns each item in the list padded to the specified length |
---|---|
input | a selection of titles |
suffix | (optional). Whether to pad by adding a "suffix" or "prefix". Defaults to "prefix". |
parameter | the pad operator accepts 1 or more parameters, see below for details |
output | the input titles padded to the specified length |
Learn more about how to use Filters
Introduced in v5.1.23
The pad
operator requires at least one parameter which specifies the desired length of the input titles. A second optional parameter can be used to specify the string to pad with (defaults to "0").
[pad[<length>],[<padding-string>]]
- length : the desired final length of the input titles.
- padding-string: (optional). The string to use to pad to the desired length. Defaults to "0".