Center
Overview
The Center action will return text of the specified size padded with the specified text on the left and right, so that it appears in the center. If the specified size is smaller than the current text length, the entire text is returned without padding.
For example passing an input Text
value of "cars", a Size
of 8, and a Padding Text
"-" would return the follwing value: "--cars--".
Inputs
Text
The Text
input is the variable that should be centered.
Type |
---|
Text |
Size
The Size
input sets the length of the output Text.
Type | Default |
---|---|
Number | false |
Padding Text
The Padding Text
is the text that will be added to the left and right of the input Text
to make the length equal to the Size
input.
Type | Default |
---|---|
Textr | false |
Outputs
Centered Text
The Centered Text
output is the modified text value that has been centered with padding text.
Type | Variable Name |
---|---|
Text | value |