to_upper Function

public elemental function to_upper(char) result(char_lower)

Convert a lowercase alpha character to its uppercase counterpart. If the passed character is not lowercase, return the same character.

Arguments

Type IntentOptional AttributesName
character(len=1), intent(in) :: char

Return Value character(len=1)


Contents

None