Return the byte type at a specific position in the string
Member of String Intrinsic Functions (PRIM_LIBI.ICommonStringIntrinsics)
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 |
Febuary 18 V14SP2