Click or drag to resize

StringMatch Class

The StringMatch class is used in matching expressions to check string conditions.
Inheritance Hierarchy
SystemObject
  Sfs2X.Entities.MatchStringMatch

Namespace:  Sfs2X.Entities.Match
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public class StringMatch : IMatcher

The StringMatch type exposes the following members.

Properties
  NameDescription
Public propertySymbol
Returns the condition symbol of this matcher.
Public propertyType
Returns the type id of this matcher.
Top
Fields
  NameDescription
Public fieldStatic memberCONTAINS
An instance of StringMatch representing the following condition: string1.indexOf(string2) != -1.
Public fieldStatic memberENDS_WITH
An instance of StringMatch representing the following condition: string1 ends with characters contained in string2.
Public fieldStatic memberEQUALS
An instance of StringMatch representing the following condition: string1 == string2.
Public fieldStatic memberNOT_EQUALS
An instance of StringMatch representing the following condition: string1 != string2.
Public fieldStatic memberSTARTS_WITH
An instance of StringMatch representing the following condition: string1 starts with characters contained in string2.
Top
See Also