|
Searches the text content for a certain string. Returns the index of the found string, -1 if the string cannot be found. The iOptions parameter can be a combination of the [eCtlRichTextBox_FindOptions] enum values
Syntax
Public Function Find (ByVal sText As String, _ Optional ByVal vStart As Variant, _ Optional ByVal vEnd As Variant, _ Optional ByVal iOptions As eCtlRichTextBox_FindOptions = ercFR_DOWN) As Long
Parameters
Parameter |
Description |
ByVal sText As String |
The text to search |
Optional ByVal vStart As Variant |
(IN/OUT) Start position |
Optional ByVal vEnd As Variant |
(IN/OUT) End position |
Optional ByVal iOptions As eCtlRichTextBox_FindOptions = ercFR_DOWN |
Options |
|