dc_string::tolower Interface Reference

Private Member Functions

subroutine clower (ch)
 

Detailed Description

Definition at line 138 of file dc_string.f90.

Member Function/Subroutine Documentation

◆ clower()

subroutine dc_string::tolower::clower ( character(len = *), intent(inout)  ch)
private

Definition at line 1368 of file dc_string.f90.

1368  !
1369  ! 文字列 ch に英字が含まれる場合、その英字を小文字に変換して ch
1370  ! に返します。 英字でない文字や既に小文字になっている文字は
1371  ! そのまま返します。
1372  !
1373  character(len = *), intent(inout):: ch
1374  integer:: i, lch, idx
1375  continue
1376  lch = len(ch)
1377  do, i = 1, lch
1378  idx = ichar(ch(i:i))
1379  if (65 <= idx .and. idx <= 90) then
1380  ch(i:i)=char(idx + 32)
1381  end if
1382  end do

The documentation for this interface was generated from the following file: