Difference between revisions of "Documentation/How Tos/Calc: TRIM function"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial content)
 
(See also:)
Line 21: Line 21:
  
 
'''[[Documentation/How_Tos/Calc: Text functions|Text functions]]'''
 
'''[[Documentation/How_Tos/Calc: Text functions|Text functions]]'''
 +
 +
[[Documentation/How_Tos/Calc: Functions listed alphabetically|'''Functions listed alphabetically''']],
 +
[[Documentation/How_Tos/Calc: Functions listed by category|'''Functions listed by category''']]

Revision as of 16:06, 13 September 2008


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.

See also:

CLEAN, FIND, PROPER, REPLACE, SEARCH, SUBSTITUTE

Text functions

Functions listed alphabetically, Functions listed by category

Personal tools