Go to the documentation of this file.
18 #ifndef __LIBSTD_CHARACTER_H
19 #define __LIBSTD_CHARACTER_H
40 return c >=
'0' && c <=
'9';
64 return (c) >=
'a' && (c) <=
'z';
76 return (c) >=
'A' && (c) <=
'Z';
112 return (c) ==
' ' || (c) ==
'\t';
124 return (c) ==
'\v' || (c) ==
'\f' ||
125 (c) ==
'\r' || (c) ==
'\n' ||
isBlank(c);
137 return (c >=
'A' && c <=
'Z') ? (c + 32) : (c);
149 return (c >=
'a' && c <=
'z') ? (c - 32) : (c);
bool isUpper(char c)
Test for an uppercase letter.
bool isAlnum(char c)
Test for an alphanumeric character.
bool isWildcard(char c)
Test for a wildcard character.
bool isDigit(char c)
Test for a decimal digit.
bool isAlpha(char c)
Test for an alphabetic character.
bool isWhitespace(char c)
Test for a white-space character.
char upper(char c)
Converts the letter c to uppercase.
char lower(char c)
Converts the letter c to lowercase.
bool isBlank(char c)
Test for a blank character.
bool isLower(char c)
Test for a lowercase letter.