Utilities.StrLCat Method

Applies to TestComplete 15.62, last modified on March 19, 2024
This method is obsolete. See the Remarks section below.

Description

The Utilities.StrLCat method adds the Source string to the end of the Dest string and then, if necessary, cuts the resulting string so that its length does not exceed MaxLen characters.

Declaration

Utilities.StrLCat(Dest, Source, MaxLen)

Dest [in]    Required    String    
Source [in]    Required    String    
MaxLen [in]    Required    Integer    
Result String

Applies To

The method is applied to the following object:

Parameters

The method has the following parameters:

Dest

Specifies the string to which the Source string will be added.

Source

Specifies the string to be added to the Dest string.

MaxLen

Specifies the maximum length the resulting string can have. If the string's length is more than the value of this parameter, it will be cut so that the string’s length does not exceed this value.

Result Value

The string that stores the Dest and Source strings and whose length does not exceed MaxLen.

Remarks

This method is obsolete. It is supported for backward compatibility only. To process strings, use the methods of the aqString object.

This method works in DelphiScript only.

See Also

aqString Object

Highlight search results