sds_toupper

int sds_toupper (int value);


Change this character to upper-case.


This command converts a given character from lower- to upper-case.

The argument value is the ASCII value of a character.

This function returns the ASCII value for its uppercase counterpart when the given character is lower-case. If the given character is upper-case already, sds_toupper leaves it as it is.

Example

int returni;

char string1[512];

sds_getstring(1,"\nEnter a lower case character: ",string1);

returni=sds_toupper(string1[0]);

sds_printf("\nsds_toupper returned %i",returni);

Tell me about...

Programming Overview of SDS™ (Solutions Development System™)

sds_islower

sds_isupper

sds_tolower