Table of Contents

CzStr::Find

Description

Finds the first instance of a character sequence in a string variable.

Function prototype

int Find(const char* lpText, int StartPos = 0);

Arguments

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.

Return value

-1 if an error occurred, and zero or more if the string is found.

Comments

None.