Remove Whitespace
Description
This operation allows you to clean up text by eliminating unnecessary whitespace characters. This includes spaces, tabs, newlines, and other types of whitespace that might be present in your input data.
Data types
These are the input/output expected data types for this operation:
Input data
- The strings from which the whitespace characters will be removed.
Output data
- The resulting strings after removing the specified characters.
Parameters
These are the parameters you need to configure to use this operation (mandatory parameters are marked with a *):
Example
Suppose you want to remove spaces, line feeds and full stops from your input strings:
In your Pipeline, open the required Action configuration and select the input Field.
In the Operation field, choose Remove whitespace.
Set Spaces to
true
.Set Carriage returns to
false
.Set Line feeds to
true
.Set Tabs to
false
.Set Form feeds to
false
.Set Full stops to
true
.Give your Output field a name and click Save.
With the parameters set above, the following text:
Hello World!
This is a test.
will be transformed like this:
HelloWorld!Thisisatest
Last updated
Was this helpful?