stripprintable(
stripprintable(
TEXT
)

The stripprintable( function strips non-printable characters from text.

Parameters

This function has one parameter:

text – the item of text that you want to strip.

Description

This function strips non-printable characters from text. In this example, the tab character is stripped out of the text.

    stripprintable("red"+tab()+"green") ☞ redgreen

Note: Spaces and carriage returns are not stripped from the text.

See Also

- percentescape( -- encodes specified characters using percent encoding.
- percentunescape( -- decodes text that contains percent encoding.
- strip( -- strips off leading and trailing blanks and other whitespace (carriage returns, tabs, etc.)
- stripchar( -- extracts characters you don't want from a text item.
- stripdiacriticals( -- strips diacritical marks from text.
- striptoalpha( -- removes everything but alphabetic letters from a text item.
- striptonum( -- removes everything but numeric digits from a text item.
- urldecode( -- decodes text that contains percent encoded characters.
- urlencode( -- converts text into a legal URL (by converting spaces into `%20`). WARNING: THIS FUNCTION IS OBSOLETE.

History

Version | Status | Notes
10.0 | Updated | Carried over from Panorama 6.0, but now works with Unicode text.