Difference between revisions of "Documentation/How Tos/Calc: CLEAN function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
||
Line 26: | Line 26: | ||
* [[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]]}} |
Revision as of 13:54, 26 February 2009
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.