returns a text string with non-printable characters removed.
CLEAN(text)
where cell A1 contains =CHAR(7) & "cat" & CHAR(8):
CLEAN(A1)
LEN(CLEAN(A1))