TextMatch Class

Class defining a text match we are looking for.

C# Syntax

                        
                            public class TextMatch

Remarks

Usage example:

var textMatch = TextMatch.Match("some text");

var textMatch = TextMatch.Match("some text", 2);

Inheritance Hierarchy

System.Object
   HP.LFT.SDK.Web.TextMatch

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)Match(String)

Returns the text match object which can be used to find the first match of the specified text.

C# Syntax

                            public static TextMatch Match( 
   string text
)

Parameters

text
The text to search for.
Public Methodstatic (Shared in Visual Basic)Match(UInt32,String)

Returns the text match object which can be used to find the n-th match of the specified text.

C# Syntax

                            public static TextMatch Match( 
   string text,
   uint textOccurrence
)

Parameters

text
The text to search for.
textOccurrence
0-based ordinal number of the text's occurrence.
Top