Utilities.Trim Method

Applies to TestComplete 14.0, last modified on January 23, 2019
This method is obsolete. See the Remarks section below.

Description

The Utilities.Trim method removes the leading and trailing spaces as well as control characters from the string specified by the S parameter.

Declaration

Utilities.Trim(S)

S [in]    Required    String    
Result String

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

S

Specifies the string from which the leading and trailing spaces as well as control characters should be removed.

Result Value

The given string with the leading and trailing spaces and control characters removed.

Remarks

This method is obsolete. It is supported for backward compatibility only. To remove the leading and trailing spaces from a string, use the aqString.Trim method.

See Also

aqString.Trim Method
aqString.Find Method
aqString.Replace Method

Highlight search results