%stringFindI()

Aliases%stringFindI()
Parametersstring @needle, string @haystack

    This function will return the number of occurences of the needle in the
haystack. This function differs from the %stringFind() function because it
matches the needle regardless of case.

Example:

@text = "One one Two two Three three Four four"
echo "Two" occurs in "@text" %stringFindI( Two, @text ) times.

Output:

"Two" occurs in "One one Two two Three three Four four" 2 times.