- Documentation
- Activities
- Text
- Trim Text
Remove extra spaces from the beginning and end of text
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
Input Text inputText | expression | Required | — | — |
Trim Mode trimMode | enum | Optional | both | —bothstartend |
Output Variable outputVariable | variable | Optional | trimmedText | — |
Output
trimmedTextStringText with whitespace removed
Compatibility
WindowsLinuxAttendedUnattended
Related activities
Change text case
Convert text to UPPERCASE, lowercase, or Title Case
Contains text
Check if text contains a specific substring
Convert datetime to text
Turn a date into readable text like "January 5, 2025"
Extract substring
Extract a portion of text by position
Find text position
Find the position of a substring within text
Get text length
Count the number of characters in text