Unicode Intrinsic Functions - AsCodePoint Method

Return the string as a codepoint

Member of Unicode Intrinsic Functions (PRIM_LIBI.IUnicodeIntrinsics)


Name Type Data Type Description
Result *Result (Optional) Integer Resulting codepoint


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


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