For the complete documentation index, see llms.txt. This page is also available as Markdown.

Trim variable transform action

Use case

You have a string that has been grabbed from an API return, however due to bad formatting the string starts or ends with extra spaces that need removed.

Overview

Trim whitespace characters from a variable.

Parameters

Parameter
Description
Required

Variable Contents

Variable to trim

Usage

Example: Trimming a string

Variable Contents: This is a test starting and ending with 3 spaces each

Results output

Result of Example:

In the above return the " characters were kept to show the spaces being removed. These would not be present in the actual return. Only the original string without whitespaces would be returned.

Last updated

Was this helpful?