Returns the number of occurences of string2
in string1
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | string1 |
Haystack string. |
||
character(len=*), | intent(in) | :: | string2 |
Needle string. |