- 06 Feb 2025
- 1 Minute to read
- Print
- DarkLight
Trim String
- Updated on 06 Feb 2025
- 1 Minute to read
- Print
- DarkLight
Step Details | |
Introduced in Version | 4.0.0 |
Last Modified in Version | 7.12.0 |
Location | Data > Text |
The Trim String step is a utility in our decisions platform that removes any leading or trailing whitespace from a given string. This means that any spaces or tabs at the beginning or end of a string are eliminated, resulting in a cleaner and more precise output.
Whitespace can cause inconsistencies and inaccuracies in data processing and storage. For instance, extraneous spaces can lead to unexpected behavior in search functions, data validation, and comparisons when working with user inputs. Using the Trim String step ensures that your data is standardized, improving the System's efficiency and minimizing errors.
To effectively utilize the Trim String step, input the desired string into the Input field in the properties section. The step will generate a cleaned version of that string without any surrounding whitespace. This ensures that your data is properly formatted and ready for further processing.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Input | String to remove whitespace from. | String |
Outputs
Property | Description | Data Type |
---|---|---|
TrimString1_Output | New string with no whitespace around the string. | String |