count Interface

public interface count

Builtin count overloading.

Calls

interface~~count~~CallsGraph interface~count count proc~count_substring count_substring interface~count->proc~count_substring
Help

Module Procedures

private elemental function count_substring(string_, substring) result(No)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: string_

String.

character(len=*), intent(in) :: substring

Substring.

Return Value integer(kind=I4P)

Number of occurrences.

Description

Count the number of occurences of a substring into a string.