- 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
Change text to UPPERCASE, lowercase, Title Case or Sentence case
Combine text
Combine several values into one piece of text, with nothing between them
Contains text
Check whether some words appear inside a piece of text
Convert datetime to text
Turn a date into readable text like "January 5, 2025"
Ends with
Check whether text ends with a given suffix
Extract substring
Extract a portion of text by position