TRIM

Syntax: TRIM(text)

This function removes extra spaces from strings. For example:

=TRIM("OpenOffice.org      is      Cool!")

returns OpenOffice.org is Cool!.

images

Figure 9-8. Sample results of the TRIM function

Get Beginning OpenOffice Calc: From Setting Up Simple Spreadsheets to Business Forecasting now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.