Repeat String (input handler)
Logic name
Repeat String (input handler) (Document Mapper/Variable Mapper/Merge Mapper)
Function
This logic returns the input string repeatedly the specified number of times.
Data types
|
Location |
Type |
|---|---|
|
First input handler |
String |
|
Second input handler |
Numeric |
|
Logic output |
String |
Refer to the following for details:
-
Logic specifications (Document Mapper/Variable Mapper)
-
Logic specifications (Merge Mapper)
Properties
|
Category |
Property |
Description |
|---|---|---|
|
Comment |
Comment |
You can write a description of the logic. It doesn't affect the conversion process. |
Function details
The number of string repetitions is set using the input data.
Specify the number of string repetitions in the second input handler.
Notes
-
When the number of repetitions is too large, OutOfMemoryError might occur.
In such a case, the number of repetitions should be reduced.
Logic sample
Mapping definition
Logic settings and processing result
This logics repeats the input data string for the number of repetitions and outputs it.
Property settings
|
Properties |
Setting |
|---|---|
|
None |
|
Input data
|
A,3 |
|
Sample,2 |
|
Sample,-1 |
|
Sample,0 |
|
Sample,1 |
Output data
|
AAA |
|
SampleSample |
|
|
|
|
|
Sample |
For a list of logics, refer to Mapper Logic Guide.