Compatible Unicode Intrinsic Functions - CharTypeAt Method

Return the character type at a specific position in the string

Member of Compatible Unicode Intrinsic Functions (PRIM_LIBI.ICompatibleUnicodeIntrinsics)


NameTypeData TypeDescription
Result*Result (Optional)EnumerationResulting character type
Position*InputIntegerPosition of the character to test


CharTypeAt is similar to ByteTypeAt in that it tests the type of byte in a string at a given index. This allows a string to be tested for DBCS and SBCS information. The difference is that it only ever returns SBCS and DBCS.

Char Types

Enum ValueDescription
SBCSSingle byte
DBCSDouble byte character


See also

All Component Classes

Technical Reference

Febuary 18 V14SP2