Finds a string in the text content of a rich edit control.
bool FindString (
CharRange * charRange,
char * text,
SearchDir dir = Down,
SearchCase sens = InSensitive,
SearchWord match = NoMatchWord
) const;
Parameters
- charRange
-
Specifies the lower and upper bounds of the search range. On return, it contains the found text position.
- text
-
The searched text.
- dir
-
The search direction.
- sens
-
The search case.
- match
-
The match word flag.
Return Value
true, if the searched text was found in the search range, else false.