Share this page

# toupper

Character Classification and Conversion Functions

Converts a character to uppercase.

    int toupper( int c);

c | The character to convert.

## Return Values

This function returns the uppercase value of the specified character.

## Example

The following example converts all characters in character_set to uppercase.

         char character_set[] = {'a', '5', '
    , 'z'};
         int i;
         for( i=0; i<4; i++ )
              lr_output_message("%c ", toupper(character_set[i]));

    Example: Output:
    Action.c(7): A
    Action.c(7): 5
    Action.c(7): $
    Action.c(7): Z

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: