Trim

Syntax

Trim(string)

Description

Returns a string with all leading and trailing spaces removed.

Parameters

Parameter Description

string

A text string.

Returns

Returns a string with all leading and trailing spaces removed.

Example

The following table presents an example of using trim function.

Expression Result

trim('' Hello World '')

Hello World