reference:evaluator:escapewild

EscapeWild(
     string:string,
     [string:flags]
)
string

Arguments

string

String to escape.

flags

Optional. Optional flags.

Return value

The input string with wildcard characters escaped.

Description

Escapes all wildcard characters in the input string and returns the result.

The optional flags are:

rescape characters used in regular expressions
bdouble all backslashes
ndouble backslashes that come before the letter 'n'

Example:

Output(EscapeWild("*.*"));
--> '*.'*