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

From Apache OpenOffice Wiki
Jump to: navigation, search
(See also:)
m
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:CLEAN function}}
 +
{{Documentation/CalcFunc TextTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_CHAR_function
 +
|NextPage=Documentation/How_Tos/Calc:_CODE_function
 +
}}__NOTOC__
  
 
== CLEAN ==
 
== CLEAN ==
Line 19: Line 24:
 
: returns <tt>'''3'''</tt>, the number of characters in <tt>'''cat'''</tt>.  
 
: returns <tt>'''3'''</tt>, the number of characters in <tt>'''cat'''</tt>.  
  
=== See also: ===
+
{{SeeAlso|EN|
'''[[Documentation/How_Tos/Calc: TRIM function|TRIM]]''',
+
* [[Documentation/How_Tos/Calc: TRIM function|TRIM]]
'''[[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: LEN function|LEN]]'''
+
* [[Documentation/How_Tos/Calc: LEN function|LEN]]
  
'''[[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 alphabetically|Functions listed alphabetically]]
[[Documentation/How_Tos/Calc: Functions listed by category|'''Functions listed by category''']]
+
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 +
[[Category: Documentation/Reference/Calc/Text functions]]

Latest revision as of 15:24, 2 February 2024



CLEAN

returns a text string with non-printable characters removed.

Syntax:

CLEAN(text)

returns text with all non-printable characters removed.
Spaces are not removed.

Example:

where cell A1 contains =CHAR(7) & "cat" & CHAR(8):

CLEAN(A1)

returns cat. The 2 non-printable characters are removed.

LEN(CLEAN(A1))

returns 3, the number of characters in cat.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_CLEAN_function&oldid=260098"
Views
Personal tools
Navigation
Tools