Number of Bytes
Logic name
Number of Bytes (Document Mapper/Variable Mapper/Merge Mapper)
Function
This logic returns the number of bytes of an input string.
Data types
|
Location |
Type |
|---|---|
|
First input handler |
String |
|
Logic output |
Numeric |
Refer to the following for details:
-
Logic specifications (Document Mapper/Variable Mapper)
-
Logic specifications (Merge Mapper)
Properties
|
Category |
Property |
Description |
|---|---|---|
|
Required settings |
Encoding |
Specify the encode to obtain the number of byte. |
|
Comment |
Comment |
You can write a description of the logic. It doesn't affect the conversion process. |
Logic sample
Mapping definition
Logic settings and processing result
The logic outputs the number of bytes of input strings.
Property settings
|
Property |
Setting |
|---|---|
|
Encoding |
Windows-31J |
Input data
|
SampleValue |
|
1234567890 |
|
test data |
Output data
|
11 |
|
10 |
|
9 |
For a list of logics, refer to Mapper Logic Guide.