True for an ASCII letter.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=1), | intent(in) | :: | c |
the character |
elemental logical function is_letter(c) !! True for an ASCII letter. character, intent(in) :: c !! the character is_letter = (c >= 'a' .and. c <= 'z') .or. (c >= 'A' .and. c <= 'Z') end function is_letter