count_integers_from_string Function

public function count_integers_from_string(str) result(count)

Count the number of integers in a string separated by spaces or commas.

Arguments

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

Input string

Return Value integer(kind=i4)

Number of integers found