String Intrinsic Functions - AsCodePoint Method

Return the string as a codepoint

Member of String Intrinsic Functions (PRIM_LIBI.IStringIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Integer

The resulting codepoint

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