Replace Each Character

Logic name
Replace Each Character (Document Mapper/Variable Mapper/Merge Mapper)
Function
This logic replaces the input string by character and returns the result.
Data types
Location |
Type |
---|---|
First input handler |
String |
Logic output |
String |
Refer to the following for details:
-
Logic specifications (Document Mapper/Variable Mapper)
-
Logic specifications (Merge Mapper)
Properties
Category |
Property |
Description |
---|---|---|
Required settings |
Input character set |
Specify the input character set. |
Required settings |
Output character set |
Specify the output character set. |
Comment |
Comment |
You can write a description of the logic. It doesn't affect the conversion process. |
Function details
This logic replaces by character, not by string.
The n-th character of Input character set is in accordance to that of Output character set respectively.
Notes
-
If the number of characters in Input character set doesn't match with the one in Output character set, characters left are ignored.
Logic sample
Mapping definition

Logic settings and processing result
Convert "A" into "1", "B" into "2", and "C" into "3".
Property settings
Property |
Setting |
---|---|
Input character set |
ABC |
Output character set |
123 |
Input data
a. introduction b. overview c. detail |
Output data
1. introduction 2. overview 3. detail |
For a list of logics, refer to Mapper Logic Guide.