find_indices_in_character_array Function

private pure function find_indices_in_character_array(names, array) result(match_idxs)

Function to locate the indices of an array of characters in another character array. Returns the indices of the first hit, it no match was found zero is returned.

Arguments

TypeIntentOptionalAttributesName
character(len=*), intent(in) :: names(:)

the names to search for

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

array in which to sarch in

Return Value integer(size(names))

index of first matches


Contents

None