fdoc

functionstarts_wordpure

pure logical function starts_word(s, word)

True if s starts with word word: followed by anything but a letter, digit or _.

Arguments

NameTypeIntentAttributesDescription
scharacter(len=*)in

the text

wordcharacter(len=*)in

the word

Result

NameTypeAttributesDescription
starts_wordlogical

Calls

Source

Show the code
pure logical function starts_word(s, word)
    character(len=*), intent(in) :: s       !! the text
    character(len=*), intent(in) :: word    !! the word
    starts_word = word_at(s, 1, word)
end function starts_word

Graphs

Calls

Called by