FindString
Description
Returns the index of the first occurrence of findStr in the given string. Index 1 is the first character in the string, returns 0 if not found. By default this is case insensitive, use the ignoreCase parameter to set case sensitivity.
Definition
integer FindString( str, findStr, ignoreCase, start )
int agk::FindString( const char* str, const char* findStr, int ignoreCase, int start )
integer FindString( str, findStr )
int agk::FindString( const char* str, const char* findStr )
Parameters
- str - The string to check
- findStr - The string to find
- ignoreCase - 1 to ignore case when searching, 0 to match case
- start - The index to start from, the first character is at index 1