Trim Left

Logic name
Trim Left (Document Mapper/Variable Mapper/Merge Mapper)
Function
This logic trims the left side of the input string.
Data types
Location |
Type |
---|---|
First input handler |
String |
Logic output |
String |
-
Logic specifications (Document Mapper/Variable Mapper)
-
Logic specifications (Merge Mapper)
Properties
Category |
Property |
Description |
---|---|---|
Trim |
Trim single-byte space |
Specify whether to trim single-byte spaces. |
Trim |
Trim double-byte space |
Specify whether to trim double-byte spaces. |
Trim |
Trim newline |
Specify whether to trim newlines. |
Trim |
Trim TAB |
Specify whether to trim tabs. |
Trim |
Other character to trim |
Specify characters to trim directly. |
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
This logic trims single-byte spaces, tabs and newlines on the left side of the input data and outputs the results.
Double-byte spaces aren't trimmed.
In the example below, "_" indicates a single-byte space, "[]" for a double-byte space, "\t" for a tab, and "\n" for a newline.
Property settings
Property |
Setting |
---|---|
Trim single-byte space |
Selected |
Trim double-byte space |
Not selected |
Trim newline |
Selected |
Trim TAB |
Selected |
Other character to trim |
|
Input data
_ABCDE_ |
[]XYZ[] |
\tTAB\t |
\nNEWLINE\n |
Output data
ABCDE_ |
[]XYZ[] |
TAB\t |
NEWLINE\n |
For a list of logics, refer to Mapper Logic Guide.