Table 21-6 lists the OCI character classification functions.
Table 21-6 OCI Character Classification Functions
| Function/Page | Purpose | 
|---|---|
| Tests whether the wide character is a letter or a decimal digit. | |
| Tests whether the wide character is an alphabetic letter. | |
| Tests whether the wide character is a control character. | |
| Tests whether the wide character is a decimal digital character. | |
| Tests whether the wide character is a graph character. | |
| Tests whether the wide character is a lowercase character. | |
| Tests whether the wide character is a printable character. | |
| Tests whether the wide character is a punctuation character. | |
| Tests whether the wide character is a single-byte character when converted to multibyte. | |
| Tests whether the wide character is a space character. | |
| Tests whether the wide character is an uppercase character. | |
| Tests whether the wide character is a hexadecimal digit. | 
Tests whether a wide character is a letter or decimal digit.
boolean OCIWideCharIsAlnum ( dvoid      *hndl,
                             OCIWchar   wc );
OCI environment or user session handle to determine the character set.
wchar for testing.
TRUE or FALSE.
Tests whether a wide character is an alphabetic letter.
boolean OCIWideCharIsAlpha ( dvoid     *hndl, 
                             OCIWchar  wc );
OCI environment or user session handle to determine the character set.
wchar for testing.
TRUE or FALSE.
Tests whether a wide character is a control character.
boolean OCIWideCharIsCntrl ( dvoid       *hndl, 
                             OCIWchar    wc );
OCI environment or user session handle to determine the character set.
wchar for testing.
TRUE or FALSE.
Tests whether a wide character is a decimal digit character.
boolean OCIWideCharIsDigit ( dvoid      *hndl, 
                             OCIWchar   wc );
OCI environment or user session handle to determine the character set.
wchar for testing.
TRUE or FALSE.
Tests whether a wide character is a graph character. A graph character is a character with a visible representation and normally includes alphabetic letters, decimal digits, and punctuation.
boolean OCIWideCharIsGraph ( dvoid     *hndl, 
                           OCIWchar    wc );
OCI environment or user session handle to determine the character set.
wchar for testing.
TRUE or FALSE.
Tests whether a wide character is a lowercase letter.
boolean OCIWideCharIsLower ( dvoid      *hndl, 
                             OCIWchar    wc );
OCI environment or user session handle to determine the character set.
wchar for testing.
TRUE or FALSE.
Tests whether a wide character is a printable character.
boolean OCIWideCharIsPrint ( dvoid     *hndl, 
                             OCIWchar  wc );
OCI environment or user session handle to determine the character set.
wchar for testing.
TRUE or FALSE.
Tests whether a wide character is a punctuation character.
boolean OCIWideCharIsPunct ( dvoid      *hndl, 
                             OCIWchar   wc );
OCI environment or user session handle to determine the character set.
wchar for testing.
TRUE or FALSE.
Tests whether a wide character is a single-byte character when converted into multibyte.
boolean OCIWideCharIsSingleByte ( dvoid     *hndl, 
                                  OCIWchar  wc );
OCI environment or user session handle to determine the character set.
wchar for testing.
TRUE or FALSE.
Tests whether a wide character is a space character. A space character causes white space only in displayed text (for example, space, tab, carriage return, new line, vertical tab or form feed).
boolean OCIWideCharIsSpace ( dvoid    *hndl, 
                             OCIWchar wc );
OCI environment or user session handle to determine the character set.
wchar for testing.
TRUE or FALSE.
Tests whether a wide character is an uppercase letter
boolean OCIWideCharIsUpper ( dvoid     *hndl, 
                             OCIWchar  wc );
OCI environment or user session handle to determine the character set.
wchar for testing.
TRUE or FALSE.
Tests whether a wide character is a hexadecimal digit (0-9, A-F, a-f)
boolean OCIWideCharIsXdigit ( dvoid     *hndl, 
                              OCIWchar  wc );
OCI environment or user session handle to determine the character set.
wchar for testing.
TRUE or FALSE.