FLASH-X
Doxygen Generated Documentation From Interface Source Code
makeLowercase.F90
Go to the documentation of this file.
1!! NOTICE
2!! Copyright 2022 UChicago Argonne, LLC and contributors
3!!
4!! Licensed under the Apache License, Version 2.0 (the "License");
5!! you may not use this file except in compliance with the License.
6!!
7!! Unless required by applicable law or agreed to in writing, software
8!! distributed under the License is distributed on an "AS IS" BASIS,
9!! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10!! See the License for the specific language governing permissions and
11!! limitations under the License.
12!!
21
22subroutine makeLowercase (str)
23
24implicit none
25 character(len=*),intent(INOUT) :: str
26 integer :: i
27
28 do i = 1, len_trim(str)
29 if (lge(str(i:i), 'A') .and. lle(str(i:i), 'Z')) &
30 & str(i:i) = achar( iachar(str(i:i)) + 32 )
31 enddo
32
33 return
34end subroutine makeLowercase
subroutine makeLowercase(str)