%stringFind()

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

    This function will return the number of occurences of the needle in the
haystack.

Example:

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

Output:

"Two" occurs in "One one Two two Three three Four four" 1 time.