Documentation/How Tos/Calc: TRIM function
From Apache OpenOffice Wiki
<
Documentation
|
How Tos
Jump to:
navigation
,
search
CALC FUNCTIONS
Text Functions
FUNCTIONS
Base
Char
Clean
Code
Concatenate
Dollar
Exact
Find
Fixed
Left
Len
Lower
Mid
Proper
Replace
Rept
Right
Search
Substitute
T
Text
Trim
Upper
Value
< Previous Page
Next Page >
Contents
1
TRIM
1.1
Syntax:
1.2
Example:
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
Category
:
Documentation/Reference/Calc/Text functions
Views
Page
Discussion
View source
History
Personal tools
Log in
Navigation
Main Page
Recent changes
Download AOO
Documentation
User Forum
Extensions
Templates
Wiki Help
Search
Tools
What links here
Related changes
Special pages
Permanent link
Page information