is_alphanum Function

public elemental function is_alphanum(c)

Checks whether c is a letter or a number (0 .. 9, a .. z, A .. Z).

Arguments

Type IntentOptional Attributes Name
character(len=1), intent(in) :: c

The character to test.

Return Value logical


Called by

proc~~is_alphanum~~CalledByGraph proc~is_alphanum is_alphanum proc~is_punctuation is_punctuation proc~is_punctuation->proc~is_alphanum proc~to_sentence to_sentence proc~to_sentence->proc~is_alphanum proc~to_title to_title proc~to_title->proc~is_alphanum

Source Code

   elemental logical function is_alphanum(c)
      character(len=1), intent(in) :: c
          !! The character to test.
      is_alphanum = (c >= '0' .and. c <= '9') .or. (c >= 'a' .and. c <= 'z') &
                    .or. (c >= 'A' .and. c <= 'Z')
   end function is_alphanum