String Intrinsic Functions - CharTypeAt Method

Return the character type at a specific position in the string

Member of String Intrinsic Functions (PRIM_LIBI.ICommonStringIntrinsics)

Parameters

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

Details

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