Adds characters to the left side.
Use it when
Pad the left side to an exact Unicode code-point length with repeated text.
Inputs and output
- Text is required text.
- Target length is required number.
- Pad text is required text.
- Text returns text.
Rules
Target length is measured in Unicode code points. Pad text repeats and is truncated by code point; it must be non-empty when padding is needed.
Text can contain at most 1,000,000 characters. An invalid value, exceeded limit, or unsupported option stops the workflow at this block with a clear message.
Errors and recovery
When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.
Connector data types
The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.
| Direction | Connector | Type | Required |
|---|---|---|---|
| Input | text — Text | text | yes |
| Input | targetLength — Target length | number | yes |
| Input | padText — Pad text | text | yes |
| Output | result — Text | text | on success |
