True for ' or ".
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=1), | intent(in) | :: | c |
the character |
elemental logical function is_quote(c) !! True for `'` or `"`. character, intent(in) :: c !! the character is_quote = c == "'" .or. c == '"' end function is_quote