Oracle® Call Interface Programmer's Guide 11g Release 2 (11.2) Part Number E10646-10 |
|
|
PDF · Mobi · ePub |
Table 22-5 lists the OCI character classification functions that are described in this section.
Table 22-5 OCI Character Classification Functions
Function | Purpose |
---|---|
Test whether the wide character is a letter or a decimal digit |
|
Test whether the wide character is a letter |
|
Test whether the wide character is a control character |
|
Test whether the wide character is a decimal digital character |
|
Test whether the wide character is a graph character |
|
Test whether the wide character is a lowercase character |
|
Test whether the wide character is a printable character |
|
Test whether the wide character is a punctuation character |
|
Test whether the wide character is a single-byte character when converted to multibyte |
|
Test whether the wide character is a space character |
|
Test whether the wide character is an uppercase character |
|
Test whether the wide character is a hexadecimal digit |
Tests whether a wide character is a letter or a decimal digit.
boolean OCIWideCharIsAlnum ( void *hndl, OCIWchar wc );
OCI environment or user session handle to determine the character set.
The wchar
for testing.
TRUE
or FALSE.
Tests whether a wide character is a letter.
boolean OCIWideCharIsAlpha ( void *hndl, OCIWchar wc );
OCI environment or user session handle to determine the character set.
The wchar
for testing.
TRUE
or FALSE.
Tests whether a wide character is a control character.
boolean OCIWideCharIsCntrl ( void *hndl, OCIWchar wc );
OCI environment or user session handle to determine the character set.
The wchar
for testing.
TRUE
or FALSE.
Tests whether a wide character is a decimal digit character.
boolean OCIWideCharIsDigit ( void *hndl, OCIWchar wc );
OCI environment or user session handle to determine the character set.
The 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 ( void *hndl, OCIWchar wc );
OCI environment or user session handle to determine the character set.
The wchar
for testing.
TRUE
or FALSE.
Tests whether a wide character is a lowercase letter.
boolean OCIWideCharIsLower ( void *hndl, OCIWchar wc );
OCI environment or user session handle to determine the character set.
The wchar
for testing.
TRUE
or FALSE.
Tests whether a wide character is a printable character.
boolean OCIWideCharIsPrint ( void *hndl, OCIWchar wc );
OCI environment or user session handle to determine the character set.
The wchar
for testing.
TRUE
or FALSE.
Tests whether a wide character is a punctuation character.
boolean OCIWideCharIsPunct ( void *hndl, OCIWchar wc );
OCI environment or user session handle to determine the character set.
The wchar
for testing.
TRUE
or FALSE.
Tests whether a wide character is a single-byte character when converted to multibyte.
boolean OCIWideCharIsSingleByte ( void *hndl, OCIWchar wc );
OCI environment or user session handle to determine the character set.
The 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 ( void *hndl, OCIWchar wc );
OCI environment or user session handle to determine the character set.
The wchar
for testing.
TRUE
or FALSE.
Tests whether a wide character is an uppercase letter.
boolean OCIWideCharIsUpper ( void *hndl, OCIWchar wc );
OCI environment or user session handle to determine the character set.
The wchar
for testing.
TRUE
or FALSE.
Tests whether a wide character is a hexadecimal digit (0 through 9, A through F, a through f).
boolean OCIWideCharIsXdigit ( void *hndl, OCIWchar wc );
OCI environment or user session handle to determine the character set.
The wchar
for testing.
TRUE
or FALSE.