BuiltIn.GetOrd Method

Applies to TestComplete 14.10, last modified on June 5, 2019

Description

If Value is not a string, the GetOrd method returns 0. Else, the method returns the byte value of the first character in Value. If Value is a Unicode string, GetOrd returns the lower byte of the first character.

Declaration

BuiltIn.GetOrd(Value)

Value [in]    Required    Variant    
Result Variant

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

Value

The variant value whose ordinal value you want to get.

Result Value

The ordinal value of the specified ordinal-type expression.

Highlight search results