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)


Name Type Data Type Description
Result *Result (Optional) Enumeration Resulting character type
Position *Input Integer Position 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 Value Description
SBCS Single byte
DBCS Double byte character


See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020