int Find(int StartLine, str Str1, int? Flags1, str? Str2, int? Flags2, str? Str3, int? Flags3)
Intended to be used with the insert directive: returns the 0-based index of the first line in the preprocessor output matching the specified criteria. Returns less than 0 if no match was found.
The first parameter denotes the 0-based index of the line to start the search from, usually it is set to zero.
The second, fourth, and sixth parameters should specify string(s) to search within each line. Only the first string must be specified, whereas the others may be omitted.
The third, fifth, and seventh parameters should specify the search flags for each string meaning that the first flags parameter specifies flags for the first string, and so on.
See the Find flags topic for the description of the available search flags.
If any of the 'flags' parameters is omitted but the string parameter preceding it is specified, FIND_MATCH | FIND_AND (that is, 0) is used.