Trim

This Flow Script tutorial explains how to use the Trim function with syntax and examples.

Description

The Trim function removes whitespace characters before and after the string.

Syntax

‌The syntax for the Trim function is:

Trim(input)

Parameters

‌input - the string from which the whitespace is removed.

Returns

‌The Trim function returns a string.‌

Example

Let's look at some Trim function examples and explore how to use the Trim function.‌

Trim("  hello world  ")
Result: hello world

Last updated