to_upper Interface

public interface to_upper

Converts a string to all uppercase characters. Any characters that are already uppercase, a special symbol, or a numeric value are not modified.


Contents


Module Procedures

private pure function to_upper_char(x) result(rst)

Converts a string to all uppercase characters. Any characters that are already uppercase, a special symbol, or a numeric value are not modified.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: x

The string on which to operate.

Return Value type(string)

The resulting string.

private pure elemental function to_upper_string(x) result(rst)

Converts a string to all uppercase characters. Any characters that are already uppercase, a special symbol, or a numeric value are not modified.

Arguments

Type IntentOptional Attributes Name
type(string), intent(in) :: x

The string on which to operate.

Return Value type(string)

The resulting string.