TX Sheet Control

CLEAN Function

Function

Remove the nonprinting characters from text. CLEAN removes the control characters with the codes 0 to 31, such as line breaks and tabs, which often come with text imported from other applications. All other characters are kept, including spaces and the character with the code 127.

Syntax

CLEAN(text)

Category: Text. Minimum arguments: 1. Maximum arguments: 1.

Available for supported offline calculation.

Examples

=CLEAN("Tx Sheet")

The formula returns "Tx Sheet" unchanged, because the text has no nonprinting characters.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also