next up previous
Next: CHR_WILD - Return whether a string matches a wild-card pattern
Up: Routine Descriptions
Previous: CHR_UCASE - Convert a string to uppercase

CHR_UPPER  -  Return uppercase equivalent of a character

Description:
If the given character is lowercase, the uppercase equivalent is returned, otherwise the character will be returned unchanged.

Invocation:
RESULT = CHR_UPPER( CVALUE )

Arguments:
CVALUE = CHARACTER 1 (Given)
The character to be converted.

Returned Value:
CHR_UPPER = CHARACTER 1
Uppercase equivalent of the given character, if the given character is a lowercase letter; otherwise the character is returned unchanged.



next up previous
Next: CHR_WILD - Return whether a string matches a wild-card pattern
Up: Routine Descriptions
Previous: CHR_UCASE - Convert a string to uppercase



CHR Character Handling Routines
Starlink User Note 40
A C Charles
P C T Rees
A J Chipperfield
2 August 1995
E-mail:ussc@star.rl.ac.uk