Compatible Unicode Intrinsic Functions - ByteTypeAt Method
Return the byte type at a specific position in the string
Member of Compatible Unicode Intrinsic Functions (PRIM_LIBI.ICompatibleUnicodeIntrinsics)
Name |
Type |
Data Type |
Description |
Result |
*Result (Optional) |
Enumeration |
Resulting byte type |
Index |
*Input |
Integer |
Position in the string |
ByteTypeAt tests the type of byte in a string at a given index. This allows a string to be tested for DBCS and SBCS information.
Enum Value |
Description |
SBCS |
Single byte |
DBCS1 |
First byte of a double byte character |
DBCS2 |
Second byte of a double byte character |
ShiftIn |
ShiftIn byte for an EBCDIC DBCS string |
ShiftOut |
ShiftOut byte for an EBCDIC DBCS string |
All Component Classes
Technical Reference