Skip to main content
Add padding to text
Wrk Product avatar
Written by Wrk Product
Updated over 3 weeks ago

Uses pad character(s) to increase the length of the text provided up to a given total length. Multiple pad characters will repeat in order until the total length is met.

Application

  • Text

Inputs (what you have)

Name

Description

Data Type

Required?

Example

Text

The text to be padded

Text (Long)

Yes

15

Pad character

The character(s) to be inserted

Text (Short)

Yes

0

Output text length

The total length of the output text

Number

Yes

5

Positioning

Should the text be padded on the left side (leading) or on the right side (trailing)?

Text (Short)

Yes

Leading

Outputs (what you get)

Name

Description

Data Type

Required?

Example

Padded text

The original “Text” padded with the provided character so that it is exactly the given “Total length”. Example: 00015

Text (Long)

No

00015

Outcomes

Name

Description

Success

This status is selected if the job has successfully completed.

Requirements

  • N/A

Did this answer your question?