Convert the string to lowercase.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(inout) | :: | str |
pure subroutine lowercase(str) character(len=*),intent(inout) :: str integer :: i,idx do i=1,len_trim(str) idx = index(upper,str(i:i)) if (idx>0) str(i:i) = lower(idx:idx) end do end subroutine lowercase