count_char Function

public pure function count_char(str, char) result(c)

@brief Count the occurence of a character in a string.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: str
character(len=1), intent(in) :: char

Return Value integer


Contents