Returns number of times string is found in a string
#include "String and File String.au3" _StringCount( $sString, $sCountString ) |
$sString | String containing string to count |
$sCountString | String to count |
integer value | Number of times string is found |
_StringCount( "How many times is the word times contained in this sentence?" ) ; 2