Remove Whitespace
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
These are the input/output expected data types for this operation:
- The strings from which the whitespace characters will be removed.
- The resulting strings after removing the specified characters.
These are the parameters you need to configure to use this operation (mandatory parameters are marked with a *):
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:
will be transformed like this:
You can try out operations with specific values using the Input field above the operation. You can enter the value in the example above and check the result in the Output field.