UFT Web Add-in Extensibility API Reference
trim Method
Strips leading and trailing white spaces from a string.

Syntax

JScript 
public function trim(
    inString : String
);

Parameters

inString
The string to trim.

Returns

The input string after stripping leading and trailing white spaces.

See Also