Length Function

Applies to TestComplete 14.40, last modified on April 22, 2021

The Length function returns the number of characters of a string.

Declaration

Length(Str) Parameters
Str [in] Required String
Result     Integer  

Description

Returns the number of characters of the Str string.

Parameters

The function has the following parameter:

Str

Specifies the string to be processed.

Return Value

An integer value that holds the number of characters a string contains.

See Also

DelphiScript - List of Supported Routines and Variables
Copy
Delete
Insert
SetLength
Pos

Highlight search results