Free cookie consent management tool by TermsFeed stripwith() Function
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

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 10, 2023 (03:42:48 PM)

stripwith() Function

FEEDBACK