True if there are only blanks from i to the end of the line.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | src |
source text |
||
| integer, | intent(in) | :: | i |
byte to start from |
pure logical function only_blanks_to_eol(src, i) !! True if there are only blanks from `i` to the end of the line. character(len=*), intent(in) :: src !! source text integer, intent(in) :: i !! byte to start from integer :: j j = line_end(src, i) only_blanks_to_eol = last_nonblank(src, i, j) == 0 end function only_blanks_to_eol