Middle String (input handler)

Logic name
Middle String (input handler) (Document Mapper/Variable Mapper/Merge Mapper)
Function
This logic cuts and returns the middle of the input string.
Data types
Location |
Type |
---|---|
First input handler |
String |
Second input handler |
Numeric |
Third 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 cutting point of a string and the number of characters to cut out are set using the input data.
Enter the cutting point in the second input handler, and enter the number of characters to cut in the third input handler.
Sting cutting point
If you want to cut the string starting at the first character of the string, set 1 as the cutting point of the string.
To cut at the second character, set 2, and at the third, set 3.
The string to cut out includes the character specified as the cutting point.
Logic sample
Mapping definition

Logic settings and processing result
This logic outputs the specified length of the characters from the specified start position of the cut from the input data string.
Property settings
Property |
Setting |
---|---|
None |
|
Input data
Sample Data,5,3 |
Sample Data,1,4 |
Sample Data,8,4 |
Output data
le |
Samp |
Data |
For a list of logics, refer to Mapper Logic Guide.