OCI Character Classification Functions
Lists and describes OCI character classification functions.
Table 31-5 lists the OCI character classification functions that are described in this section.
Table 31-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 |
- OCIWideCharIsAlnum()
Tests whether the wide character is a letter or a decimal digit. - OCIWideCharIsAlpha()
Tests whether the wide character is a letter. - OCIWideCharIsCntrl()
Tests whether the wide character is a control character. - OCIWideCharIsDigit()
Test whether the wide character is a decimal digital character. - OCIWideCharIsGraph()
Tests whether a wide character is a graph character. - OCIWideCharIsLower()
Tests whether a wide character is a lowercase letter. - OCIWideCharIsPrint()
Tests whether a wide character is a printable character. - OCIWideCharIsPunct()
Tests whether a wide character is a punctuation character. - OCIWideCharIsSingleByte()
Tests whether a wide character is a single-byte character when converted to multibyte. - OCIWideCharIsSpace()
Tests whether a wide character is a space character. - OCIWideCharIsUpper()
Tests whether a wide character is an uppercase letter. - OCIWideCharIsXdigit()
Tests whether the wide character is a hexadecimal digit.
Parent topic: OCI Globalization Support Functions
OCIWideCharIsAlnum()
Tests whether the wide character is a letter or a decimal digit.
Purpose
Tests whether a wide character is a letter or a decimal digit.
Syntax
boolean OCIWideCharIsAlnum ( void *hndl,
OCIWchar wc );Parameters
Returns
TRUE or FALSE.
Parent topic: OCI Character Classification Functions
OCIWideCharIsAlpha()
Tests whether the wide character is a letter.
Purpose
Tests whether a wide character is a letter.
Syntax
boolean OCIWideCharIsAlpha ( void *hndl,
OCIWchar wc );Parameters
Returns
TRUE or FALSE.
Parent topic: OCI Character Classification Functions
OCIWideCharIsCntrl()
Tests whether the wide character is a control character.
Purpose
Tests whether a wide character is a control character.
Syntax
boolean OCIWideCharIsCntrl ( void *hndl,
OCIWchar wc );Parameters
Returns
TRUE or FALSE.
Parent topic: OCI Character Classification Functions
OCIWideCharIsDigit()
Test whether the wide character is a decimal digital character.
Purpose
Tests whether a wide character is a decimal digit character.
Syntax
boolean OCIWideCharIsDigit ( void *hndl,
OCIWchar wc );Parameters
Returns
TRUE or FALSE.
Parent topic: OCI Character Classification Functions
OCIWideCharIsGraph()
Tests whether a wide character is a graph character.
Purpose
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
Returns
TRUE or FALSE.
Parent topic: OCI Character Classification Functions
OCIWideCharIsLower()
Tests whether a wide character is a lowercase letter.
Purpose
Tests whether a wide character is a lowercase letter.
Syntax
boolean OCIWideCharIsLower ( void *hndl,
OCIWchar wc );Parameters
Returns
TRUE or FALSE.
Parent topic: OCI Character Classification Functions
OCIWideCharIsPrint()
Tests whether a wide character is a printable character.
Purpose
Tests whether a wide character is a printable character.
Syntax
boolean OCIWideCharIsPrint ( void *hndl,
OCIWchar wc );Parameters
Returns
TRUE or FALSE.
Parent topic: OCI Character Classification Functions
OCIWideCharIsPunct()
Tests whether a wide character is a punctuation character.
Purpose
Tests whether a wide character is a punctuation character.
Syntax
boolean OCIWideCharIsPunct ( void *hndl,
OCIWchar wc );Parameters
Returns
TRUE or FALSE.
Parent topic: OCI Character Classification Functions
OCIWideCharIsSingleByte()
Tests whether a wide character is a single-byte character when converted to multibyte.
Purpose
Tests whether a wide character is a single-byte character when converted to multibyte.
Syntax
boolean OCIWideCharIsSingleByte ( void *hndl,
OCIWchar wc );Parameters
Returns
TRUE or FALSE.
Parent topic: OCI Character Classification Functions
OCIWideCharIsSpace()
Tests whether a wide character is a space character.
Purpose
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
Returns
TRUE or FALSE.
Parent topic: OCI Character Classification Functions
OCIWideCharIsUpper()
Tests whether a wide character is an uppercase letter.
Purpose
Tests whether a wide character is an uppercase letter.
Syntax
boolean OCIWideCharIsUpper ( void *hndl,
OCIWchar wc );Parameters
Returns
TRUE or FALSE.
Parent topic: OCI Character Classification Functions
OCIWideCharIsXdigit()
Tests whether the wide character is a hexadecimal digit.
Purpose
Tests whether a wide character is a hexadecimal digit (0 through 9, A through F, a through f).
Syntax
boolean OCIWideCharIsXdigit ( void *hndl,
OCIWchar wc );Parameters
Returns
TRUE or FALSE.
Parent topic: OCI Character Classification Functions