Finds the first instance of a character sequence in a string variable.
int Find(const char* lpText, int StartPos = 0);
Name | Type | Comment |
---|---|---|
lpText | const char* | A handle to a C-style string containing the search string. |
StartPos | int | The position in the string variable at which the search will start. |
-1 if an error occurred, and zero or more if the string is found.
None.