TinyMUX

Strip()

Functions

FUNCTION: strip(<string1>,<string2>)

This function strips out every occurrence of every character of <string2> from <string1> and returns <string1>. If <string2> is empty or not given, <string1> is returned, stripped of ANSI codes. The strip function is case sensitive.

Examples:

> say strip(This is a test,is)
You say, "Th  a tet"
> say strip(abcdefgABCDEFG,azGy!7$B)
You say, "bcdefgACDEF"

Related Topics: @edit, edit().