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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial content)
 
m
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:TRIM function}}
 +
{{Documentation/CalcFunc TextTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_TEXT_function
 +
|NextPage=Documentation/How_Tos/Calc:_UNICHAR_function
 +
}}__NOTOC__
  
 
== TRIM ==
 
== TRIM ==
Line 12: Line 17:
 
: returns <tt>'''Good Morning'''</tt>.
 
: returns <tt>'''Good Morning'''</tt>.
  
=== See also: ===
+
{{SeeAlso|EN|
'''[[Documentation/How_Tos/Calc: CLEAN function|CLEAN]]''',
+
* [[Documentation/How_Tos/Calc: CLEAN function|CLEAN]]
'''[[Documentation/How_Tos/Calc: FIND function|FIND]]''',
+
* [[Documentation/How_Tos/Calc: FIND function|FIND]]
'''[[Documentation/How_Tos/Calc: PROPER function|PROPER]]''',
+
* [[Documentation/How_Tos/Calc: PROPER function|PROPER]]
'''[[Documentation/How_Tos/Calc: REPLACE function|REPLACE]]''',
+
* [[Documentation/How_Tos/Calc: REPLACE function|REPLACE]]
'''[[Documentation/How_Tos/Calc: SEARCH function|SEARCH]]''',
+
* [[Documentation/How_Tos/Calc: SEARCH function|SEARCH]]
'''[[Documentation/How_Tos/Calc: SUBSTITUTE function|SUBSTITUTE]]'''
+
* [[Documentation/How_Tos/Calc: SUBSTITUTE function|SUBSTITUTE]]
  
'''[[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]]}}
 +
[[Category: Documentation/Reference/Calc/Text functions]]

Latest revision as of 15:43, 2 February 2024



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
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_TRIM_function&oldid=260117"
Views
Personal tools
Navigation
Print/export
Tools