TRIM Function

The TRIM function is one of the text and data functions. Is used to remove the leading and trailing spaces from a string.

Syntax

TRIM(text)

The TRIM function has the following argument:

Argument Description
text A text value from which you want to remove spaces.

Notes

How to apply the TRIM function.

Examples

The figure below displays the result returned by the TRIM function.

TRIM Function