stripwith() Function

Function

stripwith( text, with )

The function returns the provided text, minus any characters on the list of invalid characters.

See also: cleanwith()

Parameters

Keyword Type Description

text

Text

The text to be "stripped" for printing purposes.

with

Text

The text disallowed in the "stripped" result.

Returns

Text

Usage considerations

Do not include a space between characters for the with value unless you want spaces "stripped" from the text value.

Examples

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

Test Input

stripwith("text string","xt") returns e sring

stripwith("text string","x t") returns esring

stripwith("text string","xg t") returns esrin

Open in Github Built: Fri, Nov 19, 2021 (11:59:11 AM)

On This Page

FEEDBACK