Method XbpRtf():find() Foundation
Searches a character string in the text buffer.
:find( <cSearchString>, [<nStart>], [<nEnd>], [<nOptions>] ) --> nPos
Constant | Description |
---|---|
XBPRTF_MATCH_WHOLEWORD | Find whole word |
XBPRTF_MATCH_CASE | Match case |
XBPRTF_MATCH_NOHILIGHT | Do not highlight found string |
This method a numeric value that specifies the position of the first character found. If no match is found, :find() returns -1.
The method searches for a string in the text buffer of the XbpRtf object.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.