10.6.14 ByteTypeAt
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. Possible results are:
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
Input Parameters
Index - Byte position within the supplied string
Example
This Example tests the first character of the supplied string for an EBCDIC shiftout
If (#String.ByteTypeAt( 1 ) = ShiftOut)
Ý 10.6 Alphanumeric/String Intrinsic Functions