String Intrinsic Functions - ByteTypeAt Method

Return the byte type at a specific position in the string

Member of String Intrinsic Functions (PRIM_LIBI.ICommonStringIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)EnumerationResulting byte type
Index*InputIntegerPosition in the string

Details

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.

Byte Types

Enum ValueDescription
SBCSSingle byte
DBCS1First byte of a double byte character
DBCS2Second byte of a double byte character
ShiftInShiftIn byte for an EBCDIC DBCS string
ShiftOutShiftOut byte for an EBCDIC DBCS string


 
 

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2