This transformer is processing text data before sending it to next transformer or to final recipient.
This transformer will not work correctly with binary data.
Text data blocks splitter is very useful when data is sent in small chunks (for example, received from network or from many devices), and you need to make sure that you get complete data and also split it into chunks before further processing.
If using other transformers (for example, replacing or filtering data), add this transformer first in the pipeline: it will make sure that downstream transformers will work with correct data.
Line Splitter transformer properties:
- Enabled (boolean). If enabled, transformer will be used for data processing.
- Read only (boolean). If set as read only, the transformer will not send any data to next recipient.
- Line break mode - defines how transformer is detecting new lines:
- Auto: automatically detect new lines
- CR: using \r (0x0d) string delimiter
- LF: using \n (0x0a) string delimiter
- CRLF: using \r\n (0x0d 0x0a) string delimiter
- Custom: using Custom separator
- Custom separator: string which every line must end with. Valid only if Line break mode is set to Custom.
Example:
Example:
- Input: 12\n12\n
- Output1: 12\n
- Output2: 12\n
Example:
- Input: \n\n\n
- Output1: \n
- Output2: \n
- Output3: \n