clean() Function

Returns the specified text, minus any characters not considered printable. Printable characters are the 95 printable ASCII characters plus three special characters: BACKSPACE (0x08), TAB (0x09), and NEWLINE (0x0a).

Supports US English text only.


clean( text )

text: (Text) The text to be "cleaned" for printing purposes.




clean("this     text    needs    to   be   cleaned") returns this text needs to be cleaned

See Also

cleanwith(): Use this function to perform the same operation as the clean() function, but with a custom set of characters.

strip(): Use this function to perform the opposite to the clean() function.

Open in Github Built: Fri, Nov 04, 2022 (07:10:52 PM)

On This Page