BuiltIn.GetOrd Method

Applies to TestComplete 15.63, last modified on April 10, 2024


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.

This method is available if the BuiltIn plugin is installed and enabled. The plugin is installed and enabled by default.



Value [in]    Required    Variant    
Result Variant

Applies To

The method is applied to the following object:


The method has the following parameter:


The variant value whose ordinal value you want to get.

Result Value

The ordinal value of the specified ordinal-type expression.

Highlight search results