Compatible Unicode Intrinsic Functions - AsCodePoint Method

Return the UTF16 code table value for the character

Member of Compatible Unicode Intrinsic Functions (PRIM_LIBI.ICompatibleUnicodeIntrinsics)

Parameters

Name Type Data Type Description
Result *Result (Optional) Integer UTF16 code table value for the character

Details

AsCodePoint returns the first character of the subject Unicode string as its numeric value or code point.

Example

In this example, if #String contained "ABC" the result would be 65.
#Result := #String.AsCodePoint

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020