Badania znaków
ANSI 4.3.1 The sets of characters tested for by the isalnum, isalpha, iscntrl, islower, isprint, and isupper functions
Na poniższej liście opisano te funkcje, jak są one wykonywane przez kompilator Microsoft C.
Funkcja |
Testy |
---|---|
isalnum |
Znaki 0 – 9, A–Z, a–z ASCII 48–57, 65–90, 97–122 |
isalpha |
Znaki A–Z, a–z ASCII 65–90, 97–122 |
iscntrl |
ASCII od 0 –31, 127 |
islower |
Znaki a–z ASCII 97–122 |
isprint |
Znaki A–Z, a–z, 0-9, znaki interpunkcyjne, miejsce ASCII 32–126 |
isupper |
Znaki A–Z ASCII 65–90 |