stripwith() Function

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

Syntax

stripwith ( text, with )

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

with: (Text) The text disallowed in the "stripped" result.

Returns

Text

Notes

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

See Also

cleanwith(): Use this function to perform the opposite to the stripwith() function.

FEEDBACK