TRIM

The TRIM function returns a string based on a given string, after removing extra spaces.

TRIM(source-string)

source-string: Any value from which to remove extra spaces.

Notes

Example

=TRIM(“ spaces spaces spaces “) returns “spaces spaces spaces” (the leading and trailing space were removed).