Gemstone Common Library
Show/Hide TOC

# StringMatcher Class

Represents a string matcher that can perform various types of string matching operations.

## Definition

Namespace: Gemstone.StringExtensions.StringMatcher
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.178 -- Release Build+f8a23028fef00502c7e35bcc3934c260e8a0eb56
C#
View Source Request Example

    public class StringMatcher

VB
View Source Request Example

    Public Class StringMatcher

C++
View Source Request Example

    public ref class StringMatcher

JavaScript
View Source Request Example

    Gemstone.StringExtensions.StringMatcher.StringMatcher = function();

    Type.createClass(
    	'Gemstone.StringExtensions.StringMatcher.StringMatcher');

Inheritance
  Object StringMatcher

## Constructors

StringMatcher | Generates a new StringMatcher instance.

## Properties

CaseSensitive | Gets a flag indicating whether the match is case sensitive.
MatchMode | Gets the StringMatchingMode used.
MatchText | Gets the string that is being matched.

## Methods

Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object)
GetHashCode | Serves as the default hash function. (Inherited from Object)
GetType | Gets the Type of the current instance. (Inherited from Object)
IsMatch | Compares the specified value against the match criteria.
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
ToString | Returns a string that represents the current object. (Inherited from Object)

## Extension Methods

GetEnumValueOrDefault | Gets the enumeration constant for value, if defined in the enumeration, or a default value. (Defined by EnumExtensions)
GetEnumValueOrDefaultT | Gets the enumeration constant for this value, if defined in the enumeration, or a default value. (Defined by EnumExtensions)

## See Also

#### Reference

Gemstone.StringExtensions.StringMatcher Namespace