Wimark.Controls Class Library  

RichTextBox.Find(Char[], Int32, Int32) Method

Searches a range of text in a RichTextBox control for the first instance of a character from a list of characters.

[Visual Basic]
Overloads Public Function Find( _
   ByVal characterSet As Char (), _
   ByVal start As Integer, _
   ByVal end As Integer _
) As Integer 
[C#]
public int Find( 
   char[] characterSet, 
   int start, 
   int end 
);
[C++]
public: int Find( 
   __wchar_t* characterSet, 
   int start, 
   int end 
);

Parameters

characterSet
The array of characters to search for.
start
The location within the control's text at which to begin searching.
end
The location within the control's text at which to end searching.

Return Value

The location within the control where the search characters are found.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

RichTextBox Class | RichTextBox Members | Wimark.Controls Namespace