REPT
The REPT function concatenates the input data n times.
Input
Number of Connections: Min: 1/Max:2
Input | Data Type | Description |
Input1 | String | The data. |
Input2 | Integer | Sets the Count property. (optional) |
Output
Output | Data Type | Description |
Output1 | String | The repeated data. |
Property
Name | Property Type | Description |
Count | Integer | The number of times to repeat the input data. |
Topic
- A negative
Count
will result in an error.
- If the Count property is set to zero, an empty string is output.
- If the input data stream is null or empty, an empty string is output.
Example
| Property | Output |
Input 1 | -Infoteria- | Count | 2 | -Infoteria--Infoteria- |