User manual

Table Of Contents
608
mikoC PRO for PIC32
MikroElektronika
islower
Prototype
unsigned int islower(char character);
Description Function returns 1 if the character is a lowercase letter (a-z), otherwise returns zero.
Example
res = islower(‘0’); // returns 1
res = islower(‘A’); // returns 0
ispunct
Prototype
unsigned int ispunct(char character);
Description Function returns 1 if the character is a punctuation (decimal 32-47, 58-63, 91-96, 123-126),
otherwise returns zero.
Example
res = ispunct(‘.’); // returns 1
res = ispunct(‘1’); // returns 0
isspace
Prototype
unsigned int isspace(char character);
Description Function returns 1 if the character is a white space (space, tab, CR, HT, VT, NL, FF), otherwise
returns zero.
Example
res = isspace(‘ ‘); // returns 1
res = isspace(‘1’); // returns 0
isupper
Prototype
unsigned int isupper(char character);
Description Function returns 1 if the character is an uppercase letter (A-Z), otherwise returns zero.
Example
res = isupper(‘A’); // returns 1
res = isupper(‘a’); // returns 0
isxdigit
Prototype
unsigned int isxdigit(char character);
Description Function returns 1 if the character is a hex digit (0-9, A-F, a-f), otherwise returns zero.
Example
res = isxdigit(‘A’); // returns 1
res = isxdigit(‘P’); // returns 0