Skip to main content

Pad Text / Fixed-Length Fields

Overview

Pads a text string to a fixed length with a specified character on the left, right (default), or both, optionally truncating any overflow.

Returns
Text

Parameters

ParameterParameterValid BlocksRequired
Use Dynamic NameShow the Dynamic Name slot in the tree so that it can be set dynamicallyBoolean Block GroupNo
Dynamic NameThe dynamic name of this itemText Block GroupNo
AttributesMetadata values for this block. Used in XML and multipart/form-data.Text Block GroupNo
InputThe input string to perform the pad operation onText Block GroupYes
Pad EndWhether to pad the left, the right, or both ends of the input stringText Block GroupNo
Pad LengthThe length to pad (and / or truncate) the input string toNumber Block GroupNo
Pad CharacterThe character to pad the string with, default is a spaceText Block GroupNo
Truncate Additional CharactersIf true, any characters that would overflow the specified length will be removed from the resultBoolean Block GroupNo