fdoc

functionin_setpureprivate

pure logical function in_set(set, key)

True if key is one of the blank-separated words of set, which starts and ends with a blank.

Arguments

NameTypeIntentAttributesDescription
setcharacter(len=*)in

the words

keycharacter(len=*)in

the word to find

Result

NameTypeAttributesDescription
in_setlogical

Source

Show the code
pure logical function in_set(set, key)
    character(len=*), intent(in) :: set     !! the words
    character(len=*), intent(in) :: key     !! the word to find
    in_set = index(set, ' '//key//' ') > 0
end function in_set

Graphs

Called by