strip() Function

Returns the provided text, minus any characters 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.


strip( text1, text2, …)

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




You can experiment with this function in the test box below.

Test Input

strip("this text is stripped") returns [empty result]

See Also

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

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

Open in Github

On This Page