Skip to main content
Windward

TRIM Function

autotag-wiki-logo.pngOverview

The TRIM function returns the text with the white space removed from the beginning and the end.

For example,

=TRIM("     This is a test.  ")

would return "This is a test".

Syntax

TRIM(text)

  • text - Required. The text from which you want remove starting and ending white space.
  • Was this article helpful?