Documentation/How Tos/Calc: TRIM function

From Apache OpenOffice Wiki
Jump to: navigation, search


TRIM

removes excess spaces from a text string.

Syntax:

TRIM(text)

returns text with any leading or trailing spaces removed, and with any multiple spaces replaced with a single space.

Example:

TRIM("    Good    Morning   ")

returns Good Morning.
Template:Documentation/SeeAlso
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_TRIM_function&oldid=225848"
Views
Personal tools
Navigation
Tools