Pad Text / Fixed-Length Fields
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
Parameter | Parameter | Valid Blocks | Required |
---|---|---|---|
Set an Override Name | Show the override name slot in the tree so that it can be set statically or dynamically | Boolean Block Group | No |
Override Name | The override name of this item. Use this to replace the inherited name with a custom name. Expose it on the tree to set it dynamically. | Text Block Group | No |
Attributes | Metadata values for this block. Used in XML and multipart/form-data. | Text Block Group | No |
Input | The input string to perform the pad operation on | Text Block Group | Yes |
Pad End | Whether to pad the left, the right, or both ends of the input string | Text Block Group | No |
Pad Length | The length to pad (and / or truncate) the input string to | Number Block Group | No |
Pad Character | The character to pad the string with, default is a space | Text Block Group | No |
Truncate Additional Characters | If true, any characters that would overflow the specified length will be removed from the result | Boolean Block Group | No |