Counts occurences of character a
in str
, with optional quoting
(a
in between quote characters is not counted).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | str |
Input. |
||
character(len=1), | intent(in) | :: | a |
Character to count. |
||
character(len=1), | intent(in), | optional | :: | quote |
Quote character. |