| Oracle® Call Interface Programmer's Guide, 11g Release 2 (11.2) Part Number E10646-03  | 
  | 
  | 
View PDF | 
Table 22-6 lists the OCI character classification functions.
Table 22-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.  | 
Purpose
Tests whether a wide character is a letter or decimal digit.
Syntax
boolean OCIWideCharIsAlnum ( void       *hndl,
                             OCIWchar   wc );
Parameters
OCI environment or user session handle to determine the character set.
wchar for testing.
Returns
TRUE or FALSE.
Purpose
Tests whether a wide character is an alphabetic letter.
Syntax
boolean OCIWideCharIsAlpha ( void      *hndl, 
                             OCIWchar  wc );
Parameters
OCI environment or user session handle to determine the character set.
wchar for testing.
Returns
TRUE or FALSE.
Purpose
Tests whether a wide character is a control character.
Syntax
boolean OCIWideCharIsCntrl ( void        *hndl, 
                             OCIWchar    wc );
Parameters
OCI environment or user session handle to determine the character set.
wchar for testing.
Returns
TRUE or FALSE.
Purpose
Tests whether a wide character is a decimal digit character.
Syntax
boolean OCIWideCharIsDigit ( void       *hndl, 
                             OCIWchar   wc );
Parameters
OCI environment or user session handle to determine the character set.
wchar for testing.
Returns
TRUE or FALSE.
Purpose
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.
Syntax
boolean OCIWideCharIsGraph ( void      *hndl, 
                             OCIWchar   wc );
Parameters
OCI environment or user session handle to determine the character set.
wchar for testing.
Returns
TRUE or FALSE.
Purpose
Tests whether a wide character is a lowercase letter.
Syntax
boolean OCIWideCharIsLower ( void       *hndl, 
                             OCIWchar    wc );
Parameters
OCI environment or user session handle to determine the character set.
wchar for testing.
Returns
TRUE or FALSE.
Purpose
Tests whether a wide character is a printable character.
Syntax
boolean OCIWideCharIsPrint ( void      *hndl, 
                             OCIWchar  wc );
Parameters
OCI environment or user session handle to determine the character set.
wchar for testing.
Returns
TRUE or FALSE.
Purpose
Tests whether a wide character is a punctuation character.
Syntax
boolean OCIWideCharIsPunct ( void       *hndl, 
                             OCIWchar   wc );
Parameters
OCI environment or user session handle to determine the character set.
wchar for testing.
Returns
TRUE or FALSE.
Purpose
Tests whether a wide character is a single-byte character when converted into multibyte.
Syntax
boolean OCIWideCharIsSingleByte ( void      *hndl, 
                                  OCIWchar  wc );
Parameters
OCI environment or user session handle to determine the character set.
wchar for testing.
Returns
TRUE or FALSE.
Purpose
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).
Syntax
boolean OCIWideCharIsSpace ( void     *hndl, 
                             OCIWchar wc );
Parameters
OCI environment or user session handle to determine the character set.
wchar for testing.
Returns
TRUE or FALSE.
Purpose
Tests whether a wide character is an uppercase letter
Syntax
boolean OCIWideCharIsUpper ( void      *hndl, 
                             OCIWchar  wc );
Parameters
OCI environment or user session handle to determine the character set.
wchar for testing.
Returns
TRUE or FALSE.
Purpose
Tests whether a wide character is a hexadecimal digit (0-9, A-F, a-f)
Syntax
boolean OCIWideCharIsXdigit ( void      *hndl, 
                              OCIWchar  wc );
Parameters
OCI environment or user session handle to determine the character set.
wchar for testing.
Returns
TRUE or FALSE.