# FindStringCount

## Description

Returns the number of times findStr appears in the given string. By default this is case insensitive, use the ignoreCase parameter to set case sensitivity.

## Definition

integer FindStringCount( str, findStr )

int agk::FindStringCount( const char* str, const char* findStr )

integer FindStringCount( str, findStr, ignoreCase, start )

int agk::FindStringCount( const char* str, const char* findStr, int ignoreCase, int start )

## 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