new StringMatch()

Developers never istantiate the StringMatch class: only use its static properties.

Extends
Matcher
See also
MatchExpression
BoolMatch
NumberMatch

Properties

constant static

CONTAINS  StringMatch

An instance of StringMatch representing the following condition: string1.indexOf(string2) != -1.

constant static

ENDS_WITH  StringMatch

An instance of StringMatch representing the following condition: string1 ends with characters contained in string2.

constant static

EQUALS  StringMatch

An instance of StringMatch representing the following condition: string1 == string2.

constant static

NOT_EQUALS  StringMatch

An instance of StringMatch representing the following condition: string1 != string2.

constant static

STARTS_WITH  StringMatch

An instance of StringMatch representing the following condition: string1 starts with characters contained in string2.

read-only

symbol  unknown

Returns the condition symbol of this matcher.

Inherited from
Matcher#symbol
read-only

type  unknown

Returns the type id of this matcher.

Inherited from
Matcher#type