gtool5 Fortran 90/95 Library 1.0.0-rc5
日本語
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dc_string::tolower Interface Reference

Public Member Functions

subroutine clower (ch)
 

Detailed Description

Definition at line 186 of file dc_string.f90.

Member Function/Subroutine Documentation

◆ clower()

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

Convert string to lowercase (in-place)

Converts all uppercase letters in ch to lowercase. Non-alphabetic characters and already lowercase characters are unchanged.

Parameters
[in,out]chString to convert

Definition at line 1756 of file dc_string.f90.

1757 character(len = *), intent(inout):: ch
1758 integer:: i, lch, idx
1759 continue
1760 lch = len(ch)
1761 do, i = 1, lch
1762 idx = ichar(ch(i:i))
1763 if (65 <= idx .and. idx <= 90) then
1764 ch(i:i)=char(idx + 32)
1765 end if
1766 end do

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